#
# Copyright  1999 Rui Oliveira (rco@di.uminho.pt)
#
# This is free software, licensed under the GNU Public License V2.
# See the file COPYING for details. 
#


code0001.%.grc: %.c
	m68k-palmos-coff-gcc -Wall -O4 -nostartfiles -DTAXI -o $* $^
	m68k-palmos-coff-obj-res $*
	rm $*

keyb+graffiti.prc: code0001.EvtEnableGraffiti.grc code0001.SysKeyboardDialog.grc kg.rcp
	mv code0001.EvtEnableGraffiti.grc code03e8.bin
	mv code0001.SysKeyboardDialog.grc code03e9.bin
	rm -f *.grc
	pilrc kg.rcp
	build-prc -t HACK Keyb+Graffiti.prc "Keyb+Graffiti" rco6 *.bin
	rm *.bin

clean:
	rm -f *.grc *.bin Keyb+Graffiti.prc


