OBJS = list_test.o CC = m68k-palmos-coff-gcc #uncomment this if you want to build a gdb debuggable version DEFINES = -DDEBUG INCLUDES = CSFLAGS = -O2 -S $(DEFINES) $(INCLUDES) CFLAGS = -O2 -g $(DEFINES) $(INCLUDES) PILRC = pilrc TXT2BITM = txt2bitm OBJRES = m68k-palmos-coff-obj-res BUILDPRC = build-prc ICONTEXT = "List" APPID = plRc_list PRC = list_test.prc all: $(PRC) .S.o: $(CC) $(TARGETFLAGS) -c $< .c.s: $(CC) $(CSFLAGS) $< $(PRC): code.stamp bin.stamp $(BUILDPRC) $@ $(ICONTEXT) $(APPID) *.grc *.bin code.stamp: list_test $(OBJRES) list_test touch code.stamp bin.stamp: list_test.rcp $(PILRC) list_test.rcp touch bin.stamp pilrctst: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o $@ clean: rm -rf *.[oa] list_test *.bin *.stamp *.grc list_test.prc