home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
compress
/
misc
/
xpk
/
filesys
/
xpkhandler
/
makefile
< prev
next >
Wrap
Makefile
|
1995-02-27
|
1KB
|
50 lines
#
# Makefile for xpk handler
#
# Macros
#
#DEFINES =-dDEBUG -dFARPRINT
DEFINES =
CFLAGS_PRE =-a $(DEFINES) -pacs -so -wdelopqw -ho ram:symbols
CFLAGS =$(DEFINES) -pacs -so -wdelopqw -hi ram:symbols
#LFLAGS =-m +q -w
LFLAGS =-m +q
HANDLER_OBJS=crt0.o version.o handler.o packet.o action.o subs.o
KILL_OBJS =killcrt0.o kill.o
HANDLER_LIBS=-lfarprint16 -larp16 -lc16
KILL_LIBS =-larp16 -lc16
#
# Dependancy entries
#
all: ram:symbols xpk-handler
#
ram:symbols: symbols kill
copy symbols $@
#
symbols: includes.h
cc $(CFLAGS_PRE) -o nil: includes.h
copy ram:$@ $@
#
xpk-handler: $(HANDLER_OBJS)
ln $(LFLAGS) -o $@ $(HANDLER_OBJS) $(HANDLER_LIBS)
delete version.o quiet
#
kill: $(KILL_OBJS)
ln $(LFLAGS) -o $@ $(KILL_OBJS) $(KILL_LIBS)
#
archive:
delete (#?.o|symbols) quiet
rename xpk-handler /l/
rename kill /c/
cd //
lha -a -r -x u XpkHandler XpkHandler.info XpkHandler/*
cd xpkhandler/src
#
cleanup:
delete (#?.o|symbols) quiet
#
new:
delete (#?.o|symbols) quiet
make
#