|
|
1.1 root 1: # $Header: Makefile,v 1.1 86/03/24 16:18:04 rcs Exp $
2: tes42INC= tes42.h
3: tes42SRC= main.c aux.c misc.c print.c sym42init.c sym.c tables.c type.c
4: tes42FILES= Makefile READ_ME $(tes42INC) $(tes42SRC)
5:
6: tes42OBJ= main.o type.o misc.o sym42init.o sym.o print.o tables.o aux.o
7: CFLAGS = -g -c
8: #CFLAGS = -g -c -p
9: #LFLAGS = -p
10:
11: trans: sym.h ext.h $(tes42OBJ) Makefile
12: $(CC) $(LFLAGS) -o $@ $(tes42OBJ)
13:
14: .c.o:
15: $(CC) $(CFLAGS) $*.c
16:
17: ext.h: $(tes42SRC)
18: grep "^export" $(tes42SRC) | sed -f ext.sed > ext.h
19:
20: sym.h: ../cdb/sym.h
21: rm -f sym.h
22: ln ../cdb/sym.h .
23:
24: .PRECIOUS: save
25:
26: save: $(tes42FILES)
27: backup $?
28: rm -f save
29: touch save
30: chmod 0 save
31:
32: clean:
33: @rm -f sym.h ext.h $(tes42OBJ)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.