home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d7xx
/
d737
/
prlabel.lha
/
PrLabel
/
makefile
< prev
next >
Wrap
Makefile
|
1992-09-26
|
1KB
|
63 lines
#COPT = -d3
POPT = -dDOPROTOS
#HEATH
# Use the other OFILES to link with Heath file requester
OFILES = main.o PrL.o GetAFile.o MyIO.o
#OFILES = main.o PrL.o GetAFile.o MyIO.o safeclose.o getfile.o
LFILES = LIB:lc.lib LIB:amiga.lib LIB:stslib.lib
IFILES = PrLabel.h
PFILES = main_protos.h PrL_protos.h GetAFile_protos.h MyIO_protos.h
#
# The executable 'PrLabel' depends on the object files
# Link these with the library files.
#
PrLabel : $(OFILES)
link FROM LIB:c.o LIB:tinymain.o $(OFILES) TO PrLabel LIB $(LFILES) VERBOSE
# link FROM LIB:c.o $(OFILES) TO PrLabel LIB $(LFILES) VERBOSE
#
# '.o' depends on the source file and its includes
#
main.o : main.c $(IFILES)
lc $(COPT) main.c
PrL.o : PrL.c $(IFILES)
lc $(COPT) PrL.c
GetAFile.o : GetAFile.c
lc $(COPT) GetAFile.c
MyIO.o : MyIO.c
lc $(COPT) MyIO.c
#HEATH
# Uncomment these to compile Heath requester code
#safeclose.o : safeclose.c
# lc $(COPT) safeclose.c
#getfile.o : getfile.c
# lc $(COPT) getfile.c
#
# The protos include file is recreated thus:
#
protos : $(PFILES)
main_protos.h : main.c
lc $(POPT) -omain_protos.h -pr main
PrL_protos.h : PrL.c
lc $(POPT) -oPrL_protos.h -pr PrL
GetAFile_protos.h : GetAFile.c
lc $(POPT) -oGetAFile_protos.h -pr GetAFile
MyIO_protos.h : MyIO.c
lc $(POPT) -oMyIO_protos.h -pr MyIO
#
# Finally get rid of the .o files
#
clean :
DELETE main.o
DELETE PrL.o
DELETE GetAFile.o
DELETE MyIO.o