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


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

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

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

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

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

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

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

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

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

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

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

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

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


desc
@@


1.13
log
@Move App files out of subdirectory.
Move odo adjust and factor adjust out of RallyOdo into Palm.
@
text
@include ../Makefile.include

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

LIB = \
        ../libpalm.a \

RO = \
     	main.gh \

all: rallyodo.zip

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

rallyodo.prc: rallyodo.out
	build-prc rallyodo.prc "Rally Odo" TSDo *.out *.ro ../*.ro

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


1.12
log
@Refactor UI recipe files to use new preprocessor capabilities and eliminate duplicated code.
@
text
@a3 1
        FactorAdjust.o \
a4 1
	OdoAdjust.o \
a13 2
	odoadjust.gh \
	factoradjust.gh \
d21 1
a21 1
	build-prc rallyodo.prc "Rally Odo" TSDo *.out *.ro ../clockadjust.ro
@


1.11
log
@Better generated-header-file naming.
Proper C preprocessing for RCP files.
@
text
@a17 2
	about.gh \
	rallyodo.gh \
@


1.10
log
@Generate recipe header files.
@
text
@d15 5
a19 5
     	main.rcp.h \
	odoadjust.rcp.h \
	factoradjust.rcp.h \
	about.rcp.h \
	rallyodo.rcp.h \
d30 1
a30 1
	rm -rf *.o *.bin *.ro *.rcp.h *.grc *.out *.prc *.zip
@


1.9
log
@Use library instead of individual object files.
@
text
@d15 5
a19 5
     	main.ro \
	odoadjust.ro \
	factoradjust.ro \
	about.ro \
	rallyodo.ro \
d23 1
a23 1
rallyodo.out: $(OBJ)
d26 1
a26 1
rallyodo.prc: rallyodo.out $(RO)
d30 1
a30 1
	rm -rf *.o *.bin *.ro *.grc *.out *.prc *.zip
@


1.8
log
@Clean up makefiles.
@
text
@d12 1
a12 15
        ../App/App.o \
        ../App/Main.o \
	../EHF/EHF.o \
	../Clock.o \
	../ClockAdjust.o \
	../Database.o \
	../Distance.o \
	../Factor.o \
	../Number.o \
	../Odo.o \
	../Serial.o \
	../Splits.o \
        ../Table.o \
	../Time.o \
	../Util.o \
@


1.7
log
@Refactor object file generation.
@
text
@d28 6
a33 6
BIN = \
	tFRM2001.bin \
	tFRM2101.bin \
	tFRM2201.bin \
	Talt2101.bin \
	tver03e8.bin \
d40 2
a41 20
tFRM2001.bin: main.rcp
	pilrc -q $<

tFRM2101.bin: odoadjust.rcp
	pilrc -q $<

tFRM2201.bin: factoradjust.rcp
	pilrc -q $<

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

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

rallyodo.prc: rallyodo.out $(BIN)
	build-prc rallyodo.prc "Rally Odo" TSDo *.out *.bin ../tFRM1101.bin

rallyodo.zip: rallyodo.prc
	zip $@@ $<
d44 1
a44 1
	rm -rf *.o *.bin *.grc *.out *.prc *.zip
@


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

@


1.5
log
@Make odometer readout and factor adjustable.
@
text
@d59 1
a59 1
	build-prc rallyodo.prc "Rally Odo" TSDo *.out *.bin ../tFRM1001.bin
@


1.4
log
@Be less file-specific in rules.
@
text
@d4 1
d6 1
d30 2
d37 1
a37 16
About.o: About.cc
	$(CPP) $(CPPFLAGS) -c $< -o $@@

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

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

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

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

pilotMain.o: pilotMain.cc
d44 6
@


1.3
log
@Splits and deltas for odometer.
Some code towards odometer adjustment (awaiting code segment limit resolution)
@
text
@d31 1
a31 1
all: $(OBJ) $(BIN) rallyodo.zip
d51 2
a52 2
rallyodo: $(OBJ)
	$(CPP) -g $(OBJ) $(LIB) -o rallyodo
d63 2
a64 2
rallyodo.prc: rallyodo $(BIN)
	build-prc rallyodo.prc "Rally Odo" TSDo rallyodo *.bin ../tFRM1001.bin
d70 1
a70 1
	rm -rf $(OBJ) *.bin rallyodo rallyodo.prc
@


1.2
log
@Refactor common Makefile code into common Makefile.include
@
text
@d6 1
d10 2
d13 12
a24 1
	../libpalm.a \
d39 3
d43 3
@


1.1
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)
a16 1
default: all
@

