home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
477.lha
/
SnoopDos_v1.2
/
src
/
makefile
< prev
next >
Wrap
Makefile
|
1991-02-12
|
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