~ubuntu-branches/ubuntu/natty/bc/natty

« back to all changes in this revision

Viewing changes to lib/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2002-04-13 11:33:49 UTC
  • Revision ID: james.westby@ubuntu.com-20020413113349-hl2r1t730b91ov68
Tags: upstream-1.06
ImportĀ upstreamĀ versionĀ 1.06

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
noinst_LIBRARIES = libbc.a
 
3
 
 
4
INCLUDES = -I. -I.. -I$(srcdir)/../h
 
5
 
 
6
libbc_a_SOURCES = getopt.c getopt1.c vfprintf.c number.c
 
7
 
 
8
DEFS = @DEFS@ $(DEFSADD)
 
9
 
 
10
CFLAGS = @CFLAGS@ -Wall -funsigned-char
 
11
 
 
12
MAINTAINERCLEANFILES = Makefile.in number.c
 
13
 
 
14
newnumber.o: number.c muldigits.h
 
15
        $(CC) $(CFLAGS) $(INCLUDES) -c -DMULDIGITS -o newnumber.o $(srcdir)/number.c
 
16
 
 
17
muldigits.h: testmul
 
18
        @echo "The following may take up to 10 minutes."
 
19
        testmul > muldigits.h
 
20
 
 
21
testmul: testmul.o number.o
 
22
        $(CC) $(CFLAGS) -o testmul testmul.o number.o
 
23
 
 
24
specialnumber: newnumber.o
 
25
        cp newnumber.o number.o
 
26