File: Makefile.am

package info (click to toggle)
bc 1.06-15
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,576 kB
  • ctags: 812
  • sloc: ansic: 8,585; yacc: 970; sh: 633; lex: 378; makefile: 141
file content (26 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Process this file with automake to produce Makefile.in
noinst_LIBRARIES = libbc.a

INCLUDES = -I. -I.. -I$(srcdir)/../h

libbc_a_SOURCES = getopt.c getopt1.c vfprintf.c number.c

DEFS = @DEFS@ $(DEFSADD)

AM_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