home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d1xx
/
d168
/
src
/
files
/
makefile
< prev
next >
Wrap
Makefile
|
1988-11-22
|
977b
|
51 lines
# Makefile
#
# -include:local must exist and my support library too
SYMS= include:symbols.m
SYMC= include:local/makesymbols.c
CFLAGS= +L +I$(SYMS)
DEST= srcc:files
SR1 = main.c
SR2 = gadget.c
SR3 = menu.c
SR4 = files.c
SR5 = memory.c
SR6 = newwildcmp.c
SR7 = filereq.c
OB1 = T:main.o
OB2 = T:gadget.o
OB3 = T:menu.o
OB4 = T:files.o
OB5 = T:memory.o
OB6 = T:newwildcmp.o
OB7 = T:filereq.o
SRCS= $(SR1) $(SR2) $(SR3) $(SR4) $(SR5) $(SR6) $(SR7)
OBJS= $(OB1) $(OB2) $(OB3) $(OB4) $(OB5) $(OB6) $(OB7)
$(DEST): $(SYMS) $(OBJS)
ln +Q $(OBJS) -lsup32 -lc32 -o $(DEST)
$(OB1): $(SR1)
cc $(CFLAGS) $(SR1) -o $(OB1)
$(OB2): $(SR2)
cc $(CFLAGS) $(SR2) -o $(OB2)
$(OB3): $(SR3)
cc $(CFLAGS) $(SR3) -o $(OB3)
$(OB4): $(SR4)
cc $(CFLAGS) $(SR4) -o $(OB4)
$(OB5): $(SR5)
cc $(CFLAGS) $(SR5) -o $(OB5)
$(OB6): $(SR6)
cc $(CFLAGS) $(SR6) -o $(OB6)
$(OB7): $(SR7)
cc $(CFLAGS) $(SR7) -o $(OB7)
$(SYMS): $(SYMC)
make -f include:local/Makefile