| 1 |
## Process this file with automake to produce Makefile.in |
| 2 |
noinst_LIBRARIES = libbc.a |
| 3 |
|
| 4 |
AM_CPPFLAGS = -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 |
AM_CFLAGS = @CFLAGS@ |
| 11 |
|
| 12 |
MAINTAINERCLEANFILES = Makefile.in number.c |
| 13 |
CLEANFILES = testmul specialnumber muldigits.h |
| 14 |
|
| 15 |
newnumber.o: number.c muldigits.h |
| 16 |
$(CC) $(CFLAGS) $(INCLUDES) -c -DMULDIGITS -o newnumber.o $(srcdir)/number.c |
| 17 |
|
| 18 |
muldigits.h: testmul |
| 19 |
@echo "The following may take up to 10 minutes." |
| 20 |
./testmul > muldigits.h |
| 21 |
|
| 22 |
testmul: testmul.o number.o |
| 23 |
$(CC) $(CFLAGS) -o testmul testmul.o number.o |
| 24 |
|
| 25 |
specialnumber: newnumber.o |
| 26 |
cp newnumber.o number.o |