home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
prog_c
/
suplib.lzh
/
SUPLIB
/
SRC
/
DMAKEFILE.BAK
< prev
next >
Wrap
Text File
|
1991-08-16
|
1KB
|
40 lines
# DMakefile for sup32.lib LATTICE C V5.02
#
# The suplib (sup32.lib) contains many useful functions including many that
# are available in the dres.library (the commonlib stuff). All routines
# expect integers to be 32 bits in size.
#
# The RLIB C/Asm flag is not set so all routines in the commonlib will
# be compiled/assembled for being called from C
# NOTE1! -rrb does not work. Thus I use -rr
# NOTE2! -A4 relative used (is the default for V5.02). Note that small and
# large data models appear to not be mixable due to a problem
# referencing IntuitionBase.
SYMS= lattice_include:symbols.m
SYMR= T:lattice_symbols.m
DEST = lattice:lib/sup32.lib
CFLAGS = -iprivate_include: -cim -d0 -H$(SYMR) -rr -v -O
AFLAGS = -ilattice:asminclude/ -dRLIB=0
OD = ltmp:suplib/
$(DEST) : $(SYMR) $(OD)*.o
-delete %(left)
list LFORMAT $(OD)%s TO $(OD)list.lst $(OD)#?.o
oml %(left) r @$(OD)list.lst
$(OD)*.o $(OD)*.o : *.c //commonlib/src/*.c
lc $(CFLAGS) -o%(left) %(right)
$(OD)*.o $(OD)*.o : *.asm //commonlib/src/*.asm
asm $(AFLAGS) -o%(left) %(right)
$(SYMR): $(SYMS)
Copy $(SYMS) $(SYMR)