Makefile
547 Bytes
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
#!smake
#
# Makefile for com
#
SUBDIR=cord
CMDDEPTH=..
PRDEPTH=../../..
include $(PRDEPTH)/PRdefs
include $(CMDDEPTH)/cmddefs
sinclude locdefs
LLDLIBS = -lelf -lmld
CFILES= \
cpu_patch.c \
create.c \
events.c \
fixmdebug.c \
global.c \
main.c \
option.c \
post_process.c \
proc.c \
readfb.c \
reorder.c \
#
default: $(_FORCE)
@for i in $(TARGETS) ; do \
cd $(CMDDEPTH)/$$i ; \
$(MAKE) -f $(CMDDEPTH)/$(SUBDIR)/Makefile $$i ;\
done
gcord: $(OBJECTS)
$(CCF) *.o $(LDFLAGS) -o $@
include $(PRDEPTH)/PRrules