Programming for Palm OS/PrcTools/HelloWorldMakefile


PROJECT=Hello
CREATOR_ID=HELO

.SILENT:

all: $(PROJECT)

$(PROJECT): HelloWorld.c
	m68k-palmos-gcc HelloWorld.c -o $(PROJECT)
	m68k-palmos-obj-res $(PROJECT)
	build-prc $(PROJECT).prc "$(PROJECT)" $(CREATOR_ID) *.$(PROJECT).grc
	rm *.$(PROJECT).grc
	rm $(PROJECT)

clean:
	rm -f $(PROJECT).prc