home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d5xx
/
d527
/
sregexp.lha
/
SRegExp
/
dmakefile
< prev
next >
Wrap
Makefile
|
1991-08-05
|
2KB
|
65 lines
OD = OBJS:sreg/
CSRC = sregexp.c sreg_version.c spath.c
COBJ = $(CSRC:"*.c":"$(OD)*.o")
OBJ = $(OD)clibrary.o $(OD)kludge.o $(COBJ)
JUNK = utils/try utils/remlib utils/bumprev
JUNKSRC = $(JUNK:"*":"*.c")
LINKLIBS = amigasr13.lib cr.lib
LIBRARY = sregexp.library
COPTS = -c -mRR -mS -proto
#COPTS = -c -mRR -mS -proto -D __DEBUG__
#COPTS = -c -mRR -mS -proto -D __DEBUG__ -D __MEMCHECK__
all : sregexpsr.lib sregexps.lib $(JUNK) $(LIBRARY)
$(JUNK) : $(JUNKSRC)
dcc -mRR -r -lsregexpsr -o %(left) %(right)
$(LIBRARY) : $(OBJ)
-Delete >NIL: %(left)
dlink -o %(left) $(OBJ) $(LINKLIBS)
utils/remlib $(LIBRARY)
Protect %(left) -E
Copy $(LIBRARY) Libs:
$(OD)clibrary.o : clibrary.asm sreg_version.i
-Delete >NIL: %(left)
a68k -q -iAINC: -o%(left) clibrary.asm
$(OD)kludge.o : kludge.asm
-Delete >NIL: %(left)
das -o%(left) %(right)
$(COBJ) : $(CSRC)
-Delete >NIL: %(left)
dcc $(COPTS) -o %(left) %(right)
sregexpsr.lib : sregexp.fd sregexp_protos.h
-Delete >NIL: %(left)
fdtolib -mr sregexp.fd -o %(left) -h sregexp_protos.h
sregexps.lib : sregexp.fd
-Delete >NIL: %(left)
fdtolib sregexp.fd -o %(left)
sreg_version.i : $(CSRC) clibrary.asm kludge.asm utils/bumprev
utils/bumprev
touch sreg_version.i
clean :
-Delete $(JUNK)
-Delete $(OBJ)
-Delete sregexpsr.lib sregexps.lib
install :
Copy $(LIBRARY) Libs:
Copy sregexpbase.h dinclude:pd/libraries
Copy sregexp_protos.h dinclude:pd/clib
Copy sregexps.lib dlib:
Copy sregexpsr.lib dlib: