* Add this nice filesystem testing tool that I've recently
[dragonfly.git] / contrib / bc / lib / Makefile.am
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