Jump to content

Programming for Palm OS/PrcTools/HelloWorldMakefile

From Wikibooks, open books for an open world

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