home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff350.lzh
/
TrackUtils
/
src
/
makefile
< prev
next >
Wrap
Makefile
|
1990-04-16
|
1KB
|
47 lines
#
# Lattice LKM makefile, for Lattice C V5.04
#
# Tcopy, Tfile (C) Copyright Eddy Carroll, January 1990
#
SYMBOLS = RAMBO
CFLAGS = -cusq -ms -v -j88i -D$(SYMBOLS) # -D3
# # Use -D2 if compiling for TraceBack
OPT = -O # Optimisation
#BFLAGS = sc sd map ram:map addsym
BFLAGS = sc sd map ram:map nd
ASM = lc:asm
START = tiny.o
#START = lib:catch.o
LIBS = lib:lc.lib lib:amiga.lib
.c.o:
lc $(CFLAGS) $(OPT) -Hsystem.sym $*.c
.a.o:
$(ASM) -isys:include/ -u $*.a
.n.doc:
nro >$*.doc -ms:an $*.n
.h.sym:
copy $*.h to ram:t/dummy.c
lc $(CFLAGS) -ph -o$*.sym ram:t/dummy.c
delete ram:t/dummy.c
#
# Makefile dependencies
#
OBJS1 = tcopy.o
OBJS2 = tfile.o
all: tiny.o tfile tcopy
tcopy: $(OBJS1)
blink from $(START) $(OBJS1) to tcopy $(BFLAGS) lib $(LIBS)
tfile: $(OBJS2)
blink from $(START) $(OBJS2) to tfile $(BFLAGS) lib $(LIBS)
system.sym: system.h
tcopy.o: tcopy.c system.sym
tfile.o: tfile.c system.sym dosheaders.h
tiny.o: tiny.a