home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Developer CD v1.2
/
amidev_cd_12.iso
/
devcon
/
milan_1991
/
devcon91.2
/
locale
/
development
/
example
/
lmkfile
next >
Wrap
Text File
|
1992-09-01
|
974b
|
41 lines
MODNAME = sample
C_COMPILER = LC
C_COMPILER_OPTS = -b0 -ms -v -rr -cfistqmc -d1 -O
LINKER = Blink
LINKER_OPTS = ADDSYM SMALLCODE SMALLDATA DEFINE @_main=@_tinymain
LINKER_OPTS_STRIP = ND
OBJECTS = sample.o texttable.o
STARTUP = LIB:c.o
LIBS = LIB:lcr.lib LIB:amiga.lib
##############################################################################
# Build the load file...
#
$(MODNAME): $(OBJECTS) $(LIBS)
$(LINKER) FROM $(STARTUP) $(OBJECTS) TO $(MODNAME) LIB $(LIBS) $(LINKER_OPTS)
##############################################################################
# Default rules...
#
.c.o:
$(C_COMPILER) $(C_COMPILER_OPTS) $*.c
.asm.o:
$(ASSEMBLER) $*.asm $(ASSEMBLER_OPTS) $*.o
##############################################################################
# All dependencies...
#
sample.o: sample.c texttable.h
texttable.o: texttable.c texttable.h samplestr.h
samplestr.h:
@CatComp sample.cd CFILE samplestr.h