-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
105 lines (87 loc) · 1.48 KB
/
Makefile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#
# udd Makefile file - Master Makefile, thanks to "mkmf"
#
# 03-Sep-89, Chuck Cranor
#
# V5.1C
#
DEST = /tmp
HDRS = cbt.h \
data.h \
defs.h
CFLAGS ?= -g
LDFLAGS ?= -lm
LIBS ?=
LINKER ?= $(CC)
MAKEFILE ?= Makefile
OBJS = cbt.o \
cbt_cast.o \
cbt_hit.o \
chr_file.o \
dgn.o \
dgn_nomove.o \
dgn_voices.o \
dlvl_file.o \
lock.o \
opr.o \
spc.o \
swb.o \
swb_file.o \
trs.o \
trs_cobjs.o \
unix.o \
utl_pplot.o \
utl_util.o
PRINT = pr
PROGRAM = udd
SRCS = cbt.c \
cbt_cast.c \
cbt_hit.c \
chr_file.c \
dgn.c \
dgn_nomove.c \
dgn_voices.c \
dlvl_file.c \
lock.c \
opr.c \
spc.c \
swb.c \
swb_file.c \
trs.c \
trs_cobjs.c \
unix.c \
utl_pplot.c \
utl_util.c
all: $(PROGRAM)
$(PROGRAM): $(OBJS) $(LIBS)
$(LINKER) $(OBJS) $(LIBS) -o $(PROGRAM) $(LDFLAGS)
clean:; rm -f $(PROGRAM) $(OBJS)
install: $(PROGRAM)
install -s $(PROGRAM) $(DEST)
program: $(PROGRAM)
update: $(DEST)/$(PROGRAM)
$(DEST)/$(PROGRAM): $(SRCS) $(LIBS) $(HDRS) $(EXTHDRS)
$(MAKE) -f $(MAKEFILE) DEST=$(DEST) install
###
# DO NOT DELETE
cbt_cast.o: cbt.h
cbt_cast.o: defs.h
cbt_hit.o: cbt.h
cbt_hit.o: defs.h
cbt.o: cbt.h
cbt.o: defs.h
chr_file.o: defs.h
dgn_nomove.o: defs.h
dgn.o: defs.h
dlvl_file.o: defs.h
lock.o: defs.h
opr.o: defs.h
spc.o: defs.h
swb_file.o: defs.h
swb.o: data.h
swb.o: defs.h
trs_cobjs.o: defs.h
trs.o: defs.h
unix.o: defs.h
utl_pplot.o: defs.h
utl_util.o: defs.h