######################################################
## Makefile for AstroPlam
##
## Use with PRC-Tools from sourceforge
##
## Author : Jogi Kuenstner
## email  : jogi@kuenstner.de
##
## History:
##-----------------------------------------------------
## 2003-10-24   JKue    created this makefile
## 2005-03-26   JKue	added this header
##
##
##############################################

all: astropalm.prc

astropalm.prc : code0000.a.out.grc tver0001.bin 
	build-prc astropalm.prc "Astro Palm" AsPa *.a.out.grc *.bin

code0000.a.out.grc : astropalm.c
	m68k-palmos-gcc -O2 astropalm.c
	m68k-palmos-obj-res a.out

tver0001.bin : astropalm.rcp astro.bmp 
	pilrc astropalm.rcp

clean :
	rm *.a.out* *bin  *.prc


