home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
archivers
/
xpk
/
xpk_source
/
examples
/
makefile
next >
Wrap
Makefile
|
1998-04-27
|
698b
|
38 lines
#
# Makefile for the various example programs
#
# The files in here:
# - xpkmanx.c : The 'xpk' program for Manx compilation
# - xpksas.c : The 'xpk' program for SAS compilation
# - xpkdice.c : The 'xpk' program for DICE compilation
#
msg:
-Please specify your compiler, either 'make manx', 'make sas' or 'make dice'
all: manx dice sas
manx: xpkmanx
dice: xpkdice
sas : xpksas
#-----MANX
xpkmanx: xpkmanx.c
cc xpkmanx.c
ln xpkmanx.o -lc
#----DICE
xpkdice: xpkdice.c
dcc xpkdice.c -lxpkmaster.lib -oxpkdice
#----SAS
xpksas: xpksas.c
sc xpksas.c LINK TO xpksas LIB lib:sc.lib NOICONS
clean:
-Delete "#?.o"
-Delete "#?manx"
-Delete "#?sas"
-Delete "#?.lnk"
-Delete "#?dice"