File: Makefile.am

package info (click to toggle)
bc 1.07.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,512 kB
  • sloc: ansic: 7,601; sh: 1,468; yacc: 1,110; lex: 342; makefile: 90
file content (26 lines) | stat: -rw-r--r-- 663 bytes parent folder | download | duplicates (3)
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

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

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

DEFS = @DEFS@ $(DEFSADD)

AM_CFLAGS = @CFLAGS@

MAINTAINERCLEANFILES = Makefile.in number.c
CLEANFILES = testmul specialnumber muldigits.h

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