head	1.21;
access;
symbols;
locks; strict;
comment	@# @;


1.21
date	2005.10.24.18.53.03;	author phi;	state Exp;
branches;
next	1.20;

1.20
date	2005.10.24.04.39.37;	author phi;	state Exp;
branches;
next	1.19;

1.19
date	2005.10.11.00.36.34;	author phi;	state Exp;
branches;
next	1.18;

1.18
date	2005.07.22.13.39.57;	author phi;	state Exp;
branches;
next	1.17;

1.17
date	2005.07.01.00.06.24;	author phi;	state Exp;
branches;
next	1.16;

1.16
date	2005.06.30.19.53.52;	author phi;	state Exp;
branches;
next	1.15;

1.15
date	2005.06.30.05.49.17;	author phi;	state Exp;
branches;
next	1.14;

1.14
date	2005.06.14.04.51.45;	author phi;	state Exp;
branches;
next	1.13;

1.13
date	2005.03.29.05.40.42;	author phi;	state Exp;
branches;
next	1.12;

1.12
date	2005.03.24.06.53.09;	author phi;	state Exp;
branches;
next	1.11;

1.11
date	2005.03.21.05.18.08;	author phi;	state Exp;
branches;
next	1.10;

1.10
date	2005.03.19.15.16.17;	author phi;	state Exp;
branches;
next	1.9;

1.9
date	2005.03.17.03.49.57;	author phi;	state Exp;
branches;
next	1.8;

1.8
date	2005.03.15.01.08.12;	author phi;	state Exp;
branches;
next	1.7;

1.7
date	2005.03.11.06.35.04;	author phi;	state Exp;
branches;
next	1.6;

1.6
date	2005.03.11.03.38.01;	author phi;	state Exp;
branches;
next	1.5;

1.5
date	2005.03.10.18.28.52;	author phi;	state Exp;
branches;
next	1.4;

1.4
date	2005.03.09.23.03.29;	author phi;	state Exp;
branches;
next	1.3;

1.3
date	2005.03.09.20.30.02;	author phi;	state Exp;
branches;
next	1.2;

1.2
date	2005.03.08.18.43.28;	author phi;	state Exp;
branches;
next	1.1;

1.1
date	2005.03.03.05.09.31;	author phi;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Refactor UI recipe files to use new preprocessor capabilities and eliminate duplicated code.
@
text
@include ../Makefile.include

OBJ = \
	Main.o \
	RallyTimer.o \
	Splits.o \
	pilotMain.o \

LIB = \
	../libpalm.a \

RO = \
     	main.gh \
	
all: rallytimer.zip

rallytimer.out: $(RO) $(OBJ)
	$(CPP) -g $(OBJ) $(LIB) -o rallytimer.out

rallytimer.prc: rallytimer.out
	build-prc rallytimer.prc "Rally Timer" TSDt *.out *.ro ../clockadjust.ro

clean:
	rm -rf *.gh *.o *.out *.prc *.pre *.ro *.zip
@


1.20
log
@Better generated-header-file naming.
Proper C preprocessing for RCP files.
@
text
@a13 2
	about.gh \
	rallytimer.gh \
@


1.19
log
@Generate recipe header files.
@
text
@d13 3
a15 3
     	main.rcp.h \
	about.rcp.h \
	rallytimer.rcp.h \
d26 1
a26 1
	rm -rf *.o *.ro *.rcp.h *.out *.prc *.zip
@


1.18
log
@Minor typographical cleanup.
@
text
@d13 3
a15 3
     	main.ro \
	about.ro \
	rallytimer.ro \
d19 1
a19 1
rallytimer.out: $(OBJ)
d22 1
a22 1
rallytimer.prc: rallytimer.out $(RO)
d26 1
a26 1
	rm -rf *.o *.ro *.out *.prc *.zip
@


1.17
log
@Clean up makefiles.
@
text
@d15 1
a15 1
	rallytimer.ro\
@


1.16
log
@Refactor object file generation.
@
text
@a9 1
	../EHF/EHF.o \
d12 6
a17 4
BIN = \
	tFRM2001.bin \
	Talt2101.bin \
	tver03e8.bin \
d19 2
a20 1
all: $(OBJ) $(BIN) rallytimer.zip
d22 2
a23 17
rallytimer: $(OBJ)
	$(CPP) -g $(OBJ) $(LIB) -o rallytimer

tFRM2001.bin: main.rcp
	pilrc -q $<

Talt2101.bin: about.rcp
	pilrc -q $<

tver03e8.bin: rallytimer.rcp
	pilrc -q $<

rallytimer.prc: rallytimer $(BIN)
	build-prc rallytimer.prc "Rally Timer" TSDt rallytimer *.bin ../tFRM1101.bin

rallytimer.zip: rallytimer.prc
	zip $@@ $<
d26 1
a26 1
	rm -rf *.o *.bin rallytimer *.prc *.zip
@


1.15
log
@Refactor UI element numbering and organization.
@
text
@a19 15
About.o: About.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

Main.o: Main.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

RallyTimer.o: RallyTimer.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

Splits.o: Splits.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

pilotMain.o: pilotMain.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

@


1.14
log
@Refactor common Makefile code into common Makefile.include
@
text
@d48 1
a48 1
	build-prc rallytimer.prc "Rally Timer" TSDt rallytimer *.bin ../tFRM1001.bin
d54 1
a54 1
	rm -rf $(OBJ) *.bin rallytimer rallytimer.prc
@


1.13
log
@Build zip target.
@
text
@d1 1
a1 12
CPP = m68k-palmos-g++

INCLUDES = \
	-I /usr/include/sdk-3.5 \
	-I /usr/include/sdk-3.5/Core \
	-I /usr/include/sdk-3.5/Core/Hardware \
	-I /usr/include/sdk-3.5/Core/System \
	-I /usr/include/sdk-3.5/Core/UI \
	-I /usr/include/sdk-3.5/Dynamic \
	-I /usr/include/sdk-3.5/Libraries \

CPPFLAGS = -g -O2 -Wall $(INCLUDES)
a17 1
default: all
@


1.12
log
@Split rallytimer.rcp and main.h into program-related rallytimer.{rcp,h} and form-related main.{rcp,h} files.
Add checkbox column to main table and generally bring table closer to final form.
@
text
@d30 1
a30 1
all: $(OBJ) $(BIN) rallytimer.prc
d61 3
@


1.11
log
@Build library for common Palm objects.
@
text
@d27 1
d50 1
a50 1
tFRM2001.bin: rallytimer.rcp
d54 3
@


1.10
log
@Cache database lookups for performance.
Display deltas before and running counters after time entries in stopwatch table.
Note:  This makes exceesive use of the table load mechanism and will have to be replaced.
@
text
@d15 1
a15 1
      	Main.o \
d21 2
a22 8
      	../EHF/EHF.o \
	../Clock.o \
	../Database.o \
	../Interval.o \
	../Table.o \
	../Time.o \
	../Util.o \
	../ClockAdjust.o \
d25 2
a26 2
      	tFRM2001.bin \
      	Talt2101.bin \
@


1.9
log
@Place new splits into a scrolling table as they are created.
@
text
@d24 1
@


1.8
log
@Add more controls to recipe.
Stub out code for new controls.
Instantiate database object.
@
text
@d17 1
d24 1
d43 3
@


1.7
log
@Add clock adjust form
@
text
@d22 1
@


1.6
log
@Refactor forms helper function into its own file
@
text
@d24 1
d55 1
a55 1
	build-prc rallytimer.prc "Rally Timer" TSDt rallytimer *.bin
@


1.5
log
@Display and update main clock field
@
text
@d23 1
@


1.4
log
@Don't provide forms for things the system can do for us
@
text
@d21 2
@


1.3
log
@Build rallytimer from top level.
Clean up better.
@
text
@a14 1
	About.o \
d23 1
a24 1
      	tFRM2001.bin \
@


1.2
log
@First pass at a compiling application using EHF framework.
@
text
@d55 1
a55 1
	rm -rf $(OBJ) $(BIN)
@


1.1
log
@initial cut at application-specific UI files
@
text
@d5 1
d7 4
d15 7
d24 1
a25 1
      	Talt2101.bin \
d28 16
a43 1
all: $(OBJ) $(BIN)
d50 3
@

