viewing source for "Makefile"

last commit

commit 2fcfc3b2e8e18bd4ab667b82d939cc2ba9b6a5d3 Author: Andrew Rader <andrew.r.rader@gmail.com> Date: Sun Jan 13 09:25:46 2008 -0800
Initial Commit

source code

01: #
02: ##
03: #
04: 
05: PROG=crt
06: SOURCES=crt.c vector.c objects.c
07: OBJS=$(SOURCES:.c=.o)
08: 
09: AS=as
10: CPP=cpp
11: CC=gcc
12: 
13: ASFLAGS=
14: CFLAGS=-Wall -Werror -ggdb
15: LDFLAGS=-rdynamic -ldl -lm -lexpat
16: 
17: $(PROG): $(SOURCES) outputs inputs
18: 	$(CC) $(CFLAGS) $(SOURCES) -o $(PROG) $(LDFLAGS)
19: 
20: outputs: force_look
21: 	make -C outputs
22: 
23: inputs: force_look
24: 	make -C inputs
25: 
26: clean:
27: 	rm -f *.o $(PROG)
28: 	make clean -C outputs
29: 	make clean -C inputs
30: 
31: force_look:
32: 	true