Open main menu

Programming for Palm OS/PrcTools/HelloWorldMakefile

< Programming for Palm OS‎ | PrcTools

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