home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
commod
/
mousebla.lzh
/
makefile
< prev
next >
Wrap
Makefile
|
1991-10-07
|
2KB
|
66 lines
#
# makefile for Commodity
#
# name of commodity
PROJECT = MouseBlanker
PROJECTD = Mausweg
#
# Definitions for SAS/C
#
LN = Blink
#CFLAGS = -cafs -v -d # for serialdebugging
CFLAGS = -cafs -O -mt -v # for release
LFLAGS = DEFINE __main=__tinymain SMALLCODE SMALLDATA NODEBUG QUIET FROM LIB:cback.o
#LNLIB = LIB LIB:lc.lib LIB:amiga.lib+LIB:debug.lib # for serial debugging
LNLIB = LIB LIB:lc.lib LIB:amiga.lib # for release
ALL: $(PROJECT) $(PROJECTD)
$(PROJECT): $(PROJECT).o
@protect ($(PROJECT).c|$(PROJECT).o) -e QUIET
$(LN) $(LFLAGS) $(PROJECT).o TO $(PROJECT) $(LNLIB)
$(PROJECTD): $(PROJECTD).o
$(LN) $(LFLAGS) $(PROJECTD).o TO $(PROJECTD) $(LNLIB)
$(PROJECT).o: $(PROJECT).c makefile
$(PROJECTD).o: $(PROJECT).c makefile
$(CC) $(CFLAGS) -dGERMAN -o$(PROJECTD).o $(PROJECT)
@protect ($(PROJECTD).c|$(PROJECTD).o) -e QUIET
test:
copy ($(PROJECT)|$(PROJECT).info) ram:
copy ($(PROJECTD)|$(PROJECTD).info) ram:
install:
copy ($(PROJECT)|$(PROJECTD)) Tools:Commodities
clean:
delete ($(PROJECT)|$(PROJECTD))
delete \#?.o
FILES0 = $(PROJECT).c makefile /cback.a.diff /cback.a.diff.readme
FILES1 = $(PROJECT) $(PROJECT).info $(PROJECT).doc $(PROJECT).doc.info
FILES2 = $(PROJECTD) $(PROJECTD).info $(PROJECTD).dok $(PROJECTD).dok.info
distribution:
@copy env:Icons/def_Document.info $(PROJECT).doc.info QUIET
@copy env:Icons/def_Dokument.info $(PROJECTD).dok.info QUIET
@protect $(PROJECT) FLAGS rwed QUIET
@protect $(PROJECTD) FLAGS rwed QUIET
@protect $(PROJECT).\#? FLAGS rwd QUIET
@protect $(PROJECTD).\#? FLAGS rwd QUIET
@protect $(PROJECT).c FLAGS rwd QUIET
@protect makefile FLAGS rwd QUIET
-@delete PD:Commodities/$(PROJECT)\#?.L?? QUIET
@lz -a a PD:Commodities/$(PROJECT) $(FILES0)
@lz -a a PD:Commodities/$(PROJECT) $(FILES1)
@lz -a a PD:Commodities/$(PROJECT) $(FILES2)
@protect PD:Commodities/$(PROJECT).L?? -e QUIET
@delete $(PROJECT).doc.info QUIET
@delete $(PROJECTD).dok.info QUIET
@lz v pd:Commodities/$(PROJECT)