home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Developer CD v1.2
/
amidev_cd_12.iso
/
devcon
/
sanfrancisco_1989
/
sf-devcon89.1
/
commodities
/
aztec
/
examples
/
makefile
< prev
next >
Wrap
Makefile
|
1992-08-27
|
1KB
|
60 lines
# examples - jimm's commodities
PREDIR=RAD:
JUNKDIR=RAD:
SHUTTLE=CxDevCon:
MYBIN=//
PRE=xmpl.pre
PRESRC=sysall.h
LIBRARYNAME=commodities.library
CFLAGS=+I$(PREDIR)$(PRE) -DLIBNAME="$(LIBRARYNAME)" -I//include/
LIBS=/cxsupp/cx_support.lib -lc
#all: $(PREDIR)$(PRE) keys
all: $(PREDIR)$(PRE) ihelp nocapslock autopoint2
shuttle:
copy ihelp|nocapslock|autopoint2 to $(SHUTTLE)
install:
copy ihelp|nocapslock|autopoint2 to $(MYBIN)
IHELPSRC=ihelp.c ivudu.c
IHELPOBJ=ihelp.o ivudu.o
ihelp: $(IHELPOBJ)
ln $(IHELPOBJ) $(LIBS) -o $@
NOCAPSRC=nocapslock.c
NOCAPSOBJ=nocapslock.o
nocapslock: $(NOCAPSOBJ)
ln $(NOCAPSOBJ) $(LIBS) -o $@
APT2SRC=autopoint2.c apt2vudu.c
APT2OBJ=autopoint2.o apt2vudu.o
autopoint2: $(APT2OBJ)
ln $(APT2OBJ) $(LIBS) -o $@
SRC=$(IHELPSRC) $(NOCAPSRC) $(APT2SRC)
OBJ=$(IHELPOBJ) $(NOCAPSOBJ) $(APT2OBJ)
# ----- pre-include and utility dependencies
.c.o:
cc $(CFLAGS) -o $*.o $*.c
# prepare pre-include (dump files)
$(PREDIR)$(PRE): $(PRE)
copy $(PRE) $(PREDIR)
$(PRE): sysall.h
cc -A -o $(JUNKDIR)pre_garbage.asm +H$(PRE) $(PRESRC)
tags: $(SRC)
ctags $(SRC)
symbols:
cnm $(OBJ)