home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff388.lzh
/
SnoopDos
/
makefile
< prev
next >
Wrap
Makefile
|
1990-10-23
|
799b
|
41 lines
#
# Lattice LKM makefile, for Lattice C V5.04 :ts=8
#
# SnoopDos (C) Copyright Eddy Carroll, May 1990
#
CFLAGS = -cusq -j88i -ms -v # -d5
BFLAGS = sc sd nd map ram:map
#BFLAGS = addsym
LIBS = lib:lc.lib lib:amiga.lib
ASM = lc:asm
#START = lib:c.o
START = tiny.o
.c.o:
lc $(CFLAGS) -Hsystem.sym $*.c
.a.o:
$(ASM) -isys:include/ -u $*.a # Prefix all symbols with C-style _
.s.o:
$(ASM) -isys:include/ $*.s # Standard "pure" assembly
.n.doc:
nro >$*.doc -ms:an $*.n
.h.sym:
lc1 -ph -o$*.sym $*.h
#
# Makefile dependencies
#
all: snoopdos
OBJS = tiny.o snoopdos.o snoopglue.o res.o
snoopdos: $(OBJS)
blink from $(OBJS) to snoopdos $(BFLAGS) lib $(LIBS)
system.sym: system.h
tiny.o: tiny.a
snoopdos.o: snoopdos.c system.sym
snoopglue.o: snoopglue.s
res.o: res.s