home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 Mobile
/
Chip_Mobile_2001.iso
/
palm
/
tools
/
blastpad
/
blastpad.EXE
/
Makefile
< prev
next >
Wrap
Makefile
|
2000-11-19
|
943b
|
43 lines
# Makefile for blastpad
VER=2.5
DOC=ChangeLog.txt readme.txt
SRC=Makefile blastpad.rcp blastpadlg.bmp blastpadsm.bmp
C=blastpad.c
H=blastpad.h
P=blastpad.prc
I=/usr/local/palmdev/sdk-3.1/include/Core
INCLUDES=-I $I -I $I/System -I $I/Hardware -I $I/UI -I $I/International
LIBS=
CFLAGS=$(INCLUDES) $(LIBS) -O2
CC=m68k-palmos-gcc
O=$(C:.c=.o)
TARGET=blastpad.prc
all: $(TARGET)
zip: blastpad.zip
tgz: blastpad.tar.gz
clean:
rm -f *.grc *.bin *.o blastpad blastpad.prc 2>/dev/null
blastpad: $O Makefile
$(CC) -o blastpad $O
blastpad.prc: blastpad blastpad.rcp Makefile
obj-res blastpad
pilrc blastpad.rcp
build-prc blastpad.prc "Blast Pad" BPad *.grc *.bin
rm *.grc *.bin
blastpad.tar.gz: $(DOC) $(SRC) $C $H $P
mkdir blastpad-$(VER)
cp $(DOC) $(SRC) $C $H $P blastpad-$(VER)
tar cvfz blastpad-$(VER).tar.gz blastpad-$(VER)/*
rm -rf blastpad-$(VER)
blastpad.zip: $(DOC) $(SRC) $C $H $P
zip blastpad.zip $(DOC) $(SRC) $C $H $P