home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 3
/
CDPDIII.bin
/
pd
/
utilities
/
monitors
/
snoopdos
/
src
/
makefile
next >
Wrap
Makefile
|
1992-12-16
|
968b
|
41 lines
###############################################################################
#
# SAS/C V6.1 Makefile vi:ts=8
#
# SnoopDos (C) Copyright Eddy Carroll, December 1992
#
# See the SCOPTIONS file in this directory for default compiler options
#
###############################################################################
CFLAGS = # Most flags are set in SCOPTIONS
AFLAGS = incdir=include:
SFLAGS = sc sd nd map ram:map h x s f l o
LIBS = lib:sc.lib lib:amiga.lib lib:debug.lib
GST = snoopdos.gst
.c.o:
sc $(CFLAGS) gst=$(GST) $*.c
.a.o:
sc $(AFLAGS) underscore $*.a # Prefix all symbols with C-style _
.s.o:
sc $(AFLAGS) $*.s # Standard "pure" assembly
.h.gst:
sc makegst=$(GST) $*.h
#
# Makefile dependencies
#
all: snoopdos
OBJS = tiny.o snoopdos.o snoopglue.o res.o
snoopdos: $(OBJS)
slink from $(OBJS) to SnoopDos $(SFLAGS) lib $(LIBS)
$(GST): system.h
tiny.o: tiny.a
snoopdos.o: snoopdos.c $(GST)
snoopglue.o: snoopglue.s
res.o: res.s