#  awk -f buildDate.awk < res_en/timesheet.rcp > timesheet.rcp

CC = m68k-palmos-gcc
CFLAGS = -Wall -g -O2 -fno-exceptions -fno-rtti

all: Timesheet.prc
	ls -l Timesheet.prc

Timesheet.prc: timesheet.def Timesheet *.bin timesheet.rcp
	pilrc timesheet.rcp
	build-prc -o $@ timesheet.def *.bin Timesheet

Timesheet: Timesheet.h AboutForm.h Category.h Database.h DetailForm.h EditCatEntryForm.h MainForm.h PrefForm.h WeeklyForm.h UIUtil.h Timesheet.c
	$(CC) $(CFLAGS) -o $@ Timesheet.c

clean:
	rm Timesheet.prc
	rm Timesheet
