#
# Generic PalmOS makefile
# by Andrew Hunter
#

SDKDIR=/opt/pilot/binutils/sdk-3.5

CC=m68k-palmos-gcc
LINK=m68k-palmos-gcc
LDFLAGS=-palmos3.5 -O3
CFLAGS=-palmos3.5 -O3\
	-Waggregate-return -Wcast-align -Wcast-qual -Wcomment \
	-Wformat -Wimplicit -Wstrict-prototypes -Wparentheses
PILRC=pilrc

%.o: ../%.c
	$(CC) -c $(CFLAGS) -I.. -I. $(CPPFLAGS) $< -o $@

%.o: %.c
	$(CC) -c $(CFLAGS) -I.. -I. $(CPPFLAGS) $< -o $@
