home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
printer
/
prlabel
/
src.lzh
/
makefile
< prev
next >
Wrap
Makefile
|
1992-01-30
|
855b
|
41 lines
#COPT = -d3 -r0
POPT = -dDOPROTOS
OFILES = main.o PrL.o
LFILES = LIB:lc.lib LIB:amiga.lib LIB:stslib.lib
IFILES = PrLabel.h
PFILES = main_protos.h PrL_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
#
# 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
#
# Finally get rid of the .o files
#
clean :
DELETE main.o
DELETE PrL.o