summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-23 20:50:07 -0700
committerKeith Packard <keithp@keithp.com>2009-04-23 20:50:07 -0700
commit86e73c009f78dc4664883353124fc891fbb01dce (patch)
tree2e63fb65273a28c8ce3951bd7ae137be9cedf8b0 /Makefile
parent204daac71ad56926730f5d6860bd70c645302e19 (diff)
Add teledongle module
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 25 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5c3dccc2..2bb4cd68 100644
--- a/Makefile
+++ b/Makefile
@@ -111,6 +111,20 @@ TT_SRC = \
$(TT_TASK_SRC)
+#
+# Sources for TeleDongle
+#
+
+TD_TASK_SRC = \
+ ao_teledongle.c
+
+TD_SRC = \
+ $(ALTOS_SRC) \
+ $(ALTOS_DRIVER_SRC) \
+ $(TELE_RECEIVER_SRC) \
+ $(TELE_COMMON_SRC) \
+ $(TD_TASK_SRC)
+
SRC = \
$(ALTOS_SRC) \
$(ALTOS_DRIVER_SRC) \
@@ -120,11 +134,13 @@ SRC = \
$(TM_DRIVER_SRC) \
$(TM_TASK_SRC) \
$(TI_TASK_SRC) \
- $(TT_TASK_SRC)
+ $(TT_TASK_SRC) \
+ $(TD_TASK_SRC)
TM_REL=$(TM_SRC:.c=.rel)
TI_REL=$(TI_SRC:.c=.rel)
TT_REL=$(TT_SRC:.c=.rel)
+TD_REL=$(TD_SRC:.c=.rel)
ADB=$(SRC:.c=.adb)
ASM=$(SRC:.c=.asm)
@@ -134,7 +150,8 @@ REL=$(SRC:.c=.rel)
RST=$(SRC:.c=.rst)
SYM=$(SRC:.c=.sym)
-PROGS=telemetrum.ihx tidongle.ihx teleterra.ihx
+PROGS=telemetrum.ihx tidongle.ihx teleterra.ihx teledongle.ihx ao_flight_test
+
PCDB=$(PROGS:.ihx=.cdb)
PLNK=$(PROGS:.ihx=.lnk)
PMAP=$(PROGS:.ihx=.map)
@@ -162,6 +179,12 @@ teleterra.ihx: $(TT_REL) Makefile
teleterra.ihx: tidongle.ihx
+teledongle.ihx: $(TD_REL) Makefile
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(TD_REL)
+ sh check-stack ao.h teledongle.mem
+
+teledongle.ihx: teleterra.ihx
+
altitude.h: make-altitude
nickle make-altitude > altitude.h