freebsd-dev/contrib/bc/lib/Makefile.am

27 lines
631 B
Makefile
Raw Normal View History

1998-04-29 21:53:01 +00:00
## Process this file with automake to produce Makefile.in
noinst_LIBRARIES = libbc.a
2001-02-26 07:13:00 +00:00
INCLUDES = -I. -I.. -I$(srcdir)/../h
1998-04-29 21:53:01 +00:00
libbc_a_SOURCES = getopt.c getopt1.c vfprintf.c number.c
2001-02-26 07:13:00 +00:00
DEFS = @DEFS@ $(DEFSADD)
CFLAGS = @CFLAGS@ -Wall -funsigned-char
MAINTAINERCLEANFILES = Makefile.in number.c
newnumber.o: number.c muldigits.h
$(CC) $(CFLAGS) $(INCLUDES) -c -DMULDIGITS -o newnumber.o $(srcdir)/number.c
muldigits.h: testmul
@echo "The following may take up to 10 minutes."
testmul > muldigits.h
testmul: testmul.o number.o
$(CC) $(CFLAGS) -o testmul testmul.o number.o
specialnumber: newnumber.o
cp newnumber.o number.o