home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
tools
/
moned
/
smakefile
< prev
next >
Wrap
Makefile
|
1995-02-27
|
1KB
|
68 lines
MODNAME = MonED
VERSION = 2
REMOTE = V$(VERSION)mf
LD_FILE = $(MODNAME).ld
LD_STRIP = $(MODNAME)
ASSEMBLER = genam
C_COMPILER = SC
C_COMPILER_OPTS = CPU=68040
LINKER = Slink
LINKER_OPTS = PLAIN SWIDTH 16
LINKER_OPTS_STRIP = ND
C_SOURCES = MonED.c
ASM_SOURCES = DOMonitor.asm
OBJECTS = MonED.o DOMonitor.o
STARTUP = LIB:c.o
LIBS = LIB:sc.lib LIB:amiga.lib
##############################################################################
# Build the stripped load file...
#
$(LD_STRIP): $(LD_FILE)
$(LINKER) FROM $(LD_FILE) TO $(LD_STRIP) $(LINKER_OPTS_STRIP)
##############################################################################
# Build the load file...
#
$(LD_FILE): $(OBJECTS) $(LIBS)
$(LINKER) <with <
FROM $(STARTUP) $(OBJECTS) TO $(LD_FILE) LIB $(LIBS) $(LINKER_OPTS)
<
BumpRev $(VERSION) $(MODNAME)_rev
##############################################################################
# Default rules...
#
.c.o:
$(C_COMPILER) NOLINK $(C_COMPILER_OPTS) $*.c
.asm.o:
$(ASSEMBLER) $*.asm $(ASSEMBLER_OPTS)
##############################################################################
# All dependencies...
#
#DOMonitor.o: DOMonitor.asm
MonED.o: MonED.c $(MODNAME)_rev.h MonED_globals.h