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


1.29
date	2006.04.22.02.03.42;	author phi;	state Exp;
branches;
next	1.28;

1.28
date	2006.03.04.01.41.35;	author phi;	state Exp;
branches;
next	1.27;

1.27
date	2006.02.12.19.15.54;	author phi;	state Exp;
branches;
next	1.26;

1.26
date	2005.10.26.05.39.18;	author phi;	state Exp;
branches;
next	1.25;

1.25
date	2005.10.24.04.39.37;	author phi;	state Exp;
branches;
next	1.24;

1.24
date	2005.10.11.05.21.16;	author phi;	state Exp;
branches;
next	1.23;

1.23
date	2005.10.11.00.36.34;	author phi;	state Exp;
branches;
next	1.22;

1.22
date	2005.08.07.19.23.57;	author phi;	state Exp;
branches;
next	1.21;

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

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

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

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

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

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

1.15
date	2005.06.17.20.34.42;	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.06.14.00.37.19;	author phi;	state Exp;
branches;
next	1.12;

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

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

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

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

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

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

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

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

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

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

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

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


desc
@@


1.29
log
@new Pause class.
@
text
@include Makefile.include

OUT = libpalm.a

OBJ = \
	App.o \
        Clock.o \
	ClockAdjust.o \
	Database.o \
	Distance.o \
	Factor.o \
	FactorAdjust.o \
	Field.o \
	Instruction.o \
	Interval.o \
	Main.o \
	Number.o \
	Odo.o \
	OdoAdjust.o \
	Pause.o \
	Serial.o \
	Speed.o \
	Speedo.o \
	Splits.o \
	Time.o \
	Util.o \
	EHF/EHF.o \

RO = \
      	clockadjust.gh \
	factoradjust.gh \
	odoadjust.gh \

all: $(OUT)
	cd Rallytimer && make
	cd Rallyodo && make
	cd TSDpro && make

$(OUT): $(RO) $(OBJ)
	ar rcs $(OUT) $(OBJ)
	m68k-palmos-ranlib $(OUT)

EHF/EHF.o:
	cd EHF && make

%.o: ../Core/%.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

clean:
	rm -rf *.a *.gh *.o *.pre *.ro
	cd EHF && make clean
	cd Rallytimer && make clean
	cd Rallyodo && make clean
	cd TSDpro && make clean
@


1.28
log
@Remove inlines to avoid gcc cross-segment call bug.
@
text
@d20 1
@


1.27
log
@First (not very functional) pass at new TSDpro app.
Support for multisegment compilation.
@
text
@d14 1
@


1.26
log
@Move App files out of subdirectory.
Move odo adjust and factor adjust out of RallyOdo into Palm.
@
text
@d35 1
d52 1
@


1.25
log
@Better generated-header-file naming.
Proper C preprocessing for RCP files.
@
text
@d6 1
d12 1
d15 1
d18 1
a24 2
	App/App.o \
	App/Main.o \
d29 2
a39 3
App/App.o:
	cd App && make

a48 1
	cd App && make clean
@


1.24
log
@Remove unused Table.
@
text
@d26 1
a26 1
      	clockadjust.rcp.h \
d46 1
a46 1
	rm -rf *.o *.ro *.rcp.h *.a
@


1.23
log
@Generate recipe header files.
@
text
@a18 1
	Table.o \
@


1.22
log
@Factor field buffer management into new class and use in common app code.
@
text
@d27 1
a27 1
      	clockadjust.ro \
d29 1
a29 1
all: $(OUT) $(RO)
d33 1
a33 1
$(OUT): $(OBJ)
d47 1
a47 1
	rm -rf *.o *.ro *.a
@


1.21
log
@Add speedometer readout to rally odo app.
@
text
@d11 1
@


1.20
log
@Clean up makefiles.
@
text
@d15 2
a24 3
OTHER = \
	Speed.o \

d28 1
a28 1
all: $(OUT) $(RO) $(OTHER)
@


1.19
log
@Refactor object file generation.
@
text
@d21 1
d26 2
a27 2
BIN = \
      	tFRM1101.bin \
d29 3
a31 1
all: $(OUT) $(BIN) $(OTHER) EHF/EHF.o Rallytimer/rallytimer.zip Rallyodo/rallyodo.zip
d37 1
a37 25
tFRM1101.bin: clockadjust.rcp
	pilrc -q $<

Distance.o:  ../Core/Distance.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

Factor.o:  ../Core/Factor.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

Speed.o:  ../Core/Speed.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

Interval.o:  ../Core/Interval.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

Number.o:  ../Core/Number.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

Odo.o:  ../Core/Odo.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

Time.o:  ../Core/Time.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

App/App.o:  /dev/null
d40 1
a40 1
EHF/EHF.o:  /dev/null
d43 2
a44 2
Rallytimer/rallytimer.zip:  $(OUT) $(BIN) /dev/null
	cd Rallytimer && make
d46 2
a47 7
Rallyodo/rallyodo.zip:  $(OUT) $(BIN) /dev/null
	cd Rallyodo && make

clean: EHF-clean app-clean rallytimer-clean rallyodo-clean
	rm -rf *.o *.bin $(OUT)

EHF-clean:
a48 2

app-clean:
a49 2

rallytimer-clean:
a50 2

rallyodo-clean:
@


1.18
log
@Refactor UI element numbering and organization.
@
text
@a36 9
Clock.o:  Clock.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

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

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

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

a54 6
Serial.o:  Serial.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

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

a55 3
	$(CPP) $(CPPFLAGS) -c $< -o $@@

Util.o:  Util.cc
@


1.17
log
@Make and unmake EHF.
Be more generic while making clean.
Clean up targets.
@
text
@d26 1
a26 1
      	tFRM1001.bin \
d34 1
a34 1
tFRM1001.bin: clockadjust.rcp
d91 1
a91 1
clean: EHF-clean rallytimer-clean rallyodo-clean
d96 3
@


1.16
log
@Begin refactoring common code out of RallyTimer splits class.
@
text
@a22 2
	Distance.o \
	Factor.o \
d28 1
a28 1
all: $(OUT) $(BIN) $(OTHER) Rallytimer/rallytimer.zip Rallyodo/rallyodo.zip
d82 3
d91 5
a95 2
clean: rallytimer-clean rallyodo-clean
	rm -rf $(OBJ) $(BIN) $(OUT)
@


1.15
log
@New Serial class.
Instantiate odo in RallyOdo app using Serial base counter.
@
text
@d15 1
d55 3
@


1.14
log
@Refactor common Makefile code into common Makefile.include
@
text
@d9 2
d13 2
d60 6
@


1.13
log
@Refactor common app code into App classes
new Hello, World app for rally odo
@
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)
a24 1
default: all
@


1.12
log
@Target non-rallytimer-related core objects to m68k as well as x86.
@
text
@d25 2
d37 1
a37 1
all: $(OUT) $(BIN) $(OTHER) Rallytimer/rallytimer.zip
d79 3
d85 4
a88 1
clean: rallytimer-clean
d93 3
@


1.11
log
@Build zip target.
@
text
@d26 5
d35 1
a35 1
all: $(OUT) $(BIN) Rallytimer/rallytimer.zip
d51 9
@


1.10
log
@Build library for common Palm objects.
@
text
@d30 1
a30 1
all: $(OUT) $(BIN) Rallytimer/rallytimer.prc
d63 1
a63 1
Rallytimer/rallytimer.prc:  $(OUT) $(BIN) /dev/null
@


1.9
log
@New Table class for managing table scrolling, callbacks, and row/column usability
@
text
@d14 2
d30 5
a34 1
all: $(OBJ) $(BIN) Rallytimer/rallytimer.prc
d63 1
a63 1
Rallytimer/rallytimer.prc:  $(OBJ) $(BIN) /dev/null
d67 1
a67 1
	rm -rf $(OBJ) $(BIN)
@


1.8
log
@New Database class for managing fixed-size records
Use preferences infrastructure for database versioning
New preferences management enum
@
text
@d20 1
d46 3
@


1.7
log
@New Interval class which can represent negative times
@
text
@d17 1
d36 3
@


1.6
log
@Add clock adjust form
@
text
@d17 1
d35 3
@


1.5
log
@Refactor forms helper function into its own file
@
text
@d16 1
d31 3
@


1.4
log
@Build rallytimer from top level.
Clean up better.
@
text
@d7 4
a10 1

d18 1
d36 3
@


1.3
log
@Palm wrappers for tick() and now().
@
text
@d20 1
a20 1
all: $(OBJ) $(BIN)
d34 4
a37 1
clean:
d39 3
@


1.2
log
@initial cut at general-usage UI files
@
text
@d5 3
a7 1
	-I /usr/include/sdk-3.5/Core/Hardware \
d12 1
d24 3
@


1.1
log
@Build cross-compiled object files.
@
text
@d13 3
d17 4
a20 1
all: $(OBJ)
d29 1
a29 1
	rm -rf $(OBJ)
@

