home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
system_utils
/
technical
/
snoopdos_388
/
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