summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-21 01:17:03 -0700
committerKeith Packard <keithp@keithp.com>2009-04-21 01:17:03 -0700
commitd1887ded41a5bfec8e10e9fd736fa9444b9b6222 (patch)
tree936c2e251c195d80e13a0754931ba188fbf7e5ad /Makefile
parent43c8f7012102cdb591ace899420c10e4a78385ad (diff)
Fix up fancy dbg stuff. Add teleterra initial bits.
The dbg stuff needed a bit of help to actually walk the tables; it appears that complex expressions confuse sdcc. This also adds primitive teleterra bits, but no UI, etc. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 22 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 550e7376..09f9368b 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,20 @@ TI_SRC = \
$(TELE_COMMON_SRC) \
$(TI_TASK_SRC)
+TT_TASK_SRC = \
+ ao_teleterra.c
+#
+# All sources for TeleTerra
+#
+TT_SRC = \
+ $(ALTOS_SRC) \
+ $(ALTOS_DRIVER_SRC) \
+ $(TELE_RECEIVER_SRC) \
+ $(TELE_DRIVER_SRC) \
+ $(TELE_COMMON_SRC) \
+ $(TT_TASK_SRC)
+
+
SRC = \
$(ALTOS_SRC) \
$(ALTOS_DRIVER_SRC) \
@@ -109,6 +123,7 @@ SRC = \
TM_REL=$(TM_SRC:.c=.rel)
TI_REL=$(TI_SRC:.c=.rel)
+TT_REL=$(TT_SRC:.c=.rel)
ADB=$(SRC:.c=.adb)
ASM=$(SRC:.c=.asm)
@@ -118,7 +133,7 @@ REL=$(SRC:.c=.rel)
RST=$(SRC:.c=.rst)
SYM=$(SRC:.c=.sym)
-PROGS=telemetrum.ihx tidongle.ihx
+PROGS=telemetrum.ihx tidongle.ihx teleterra.ihx
PCDB=$(PROGS:.ihx=.cdb)
PLNK=$(PROGS:.ihx=.lnk)
PMAP=$(PROGS:.ihx=.map)
@@ -140,6 +155,12 @@ tidongle.ihx: $(TI_REL) Makefile
tidongle.ihx: telemetrum.ihx
+teleterra.ihx: $(TT_REL) Makefile
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(TT_REL)
+ sh check-stack ao.h teleterra.mem
+
+teleterra.ihx: tidongle.ihx
+
altitude.h: make-altitude
nickle make-altitude > altitude.h