Add initial teleterra implementation.
[fw/altos] / src / Makefile.proto
index 8bc8b0e174fc2008f5ac36e4e49bff26a0041dba..2365030b2a0ac1b6f1197b1b85d4088a39aacce9 100644 (file)
@@ -10,7 +10,7 @@ vpath ao-make-product.5c ..
 CC=sdcc
 
 ifndef VERSION
-VERSION=$(shell git describe)
+include ../Version
 endif
 
 CFLAGS=--model-small --debug --opt-code-speed
@@ -147,6 +147,10 @@ TI_SRC = \
 
 TT_MAIN_SRC = \
        ao_teleterra.c
+
+TT_TASK_SRC = \
+       ao_terraui.c
+
 #
 # All sources for TeleTerra
 #
@@ -156,8 +160,8 @@ TT_SRC = \
        $(TELE_RECEIVER_SRC) \
        $(TELE_DRIVER_SRC) \
        $(TELE_COMMON_SRC) \
-       $(TT_MAIN_SRC)
-
+       $(TT_MAIN_SRC) \
+       $(TT_TASK_SRC)
 
 #
 # Sources for TeleDongle
@@ -214,7 +218,7 @@ all: ../$(PROG)
 ../altitude.h: make-altitude
        nickle $< > $@
 
-ao_product.h: ao-make-product.5c
+ao_product.h: ao-make-product.5c ../Version
        $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
 
 ao_product.rel: ao_product.c ao_product.h