altos: Add ao_freq.c to megametrum build
authorKeith Packard <keithp@keithp.com>
Thu, 29 Mar 2012 04:45:02 +0000 (21:45 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 29 Mar 2012 04:45:02 +0000 (21:45 -0700)
I think this will be needed to compute radio settings on the cc1120

Signed-off-by: Keith Packard <keithp@keithp.com>
src/megametrum-v0.1/Makefile

index b07d1e1daba501cc2f72758823a0c8df98ea4533..6347f8c3ad96f0ed1bdf50d0e9a1a486a84e79ff 100644 (file)
@@ -30,7 +30,8 @@ ALTOS_SRC = \
        ao_mutex.c \
        ao_serial_stm.c \
        ao_gps_skytraq.c \
-       ao_cc1120.c
+       ao_cc1120.c \
+       ao_freq.c
 
 PRODUCT=MegaMetrum-v0.1
 PRODUCT_DEF=-DMEGAMETRUM
@@ -38,7 +39,7 @@ IDPRODUCT=0x000a
 
 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -Os -g
 
-PROG=megametrum-v0.1
+PROG=megametrum-v0.1-$(VERSION).ihx
 
 SRC=$(ALTOS_SRC) ao_megametrum.c
 OBJ=$(SRC:.c=.o)