altos: Move TeleMetrum v2.0 to using internal eeprom for config
[fw/altos] / src / telemetrum-v2.0 / Makefile
index c03a553938aad26fb7f02dc16b3b462eea4c42b3..a5370224cb172d0b48e722a4fb09171a919153c4 100644 (file)
@@ -70,6 +70,7 @@ ALTOS_SRC = \
        ao_m25.c \
        ao_usb_stm.c \
        ao_exti_stm.c \
+       ao_eeprom_stm.c \
        ao_report.c \
        ao_convert_pa.c \
        ao_log.c \
@@ -101,7 +102,7 @@ OBJ=$(SRC:.c=.o)
 all: $(PROG)
 
 $(PROG): Makefile $(OBJ) altos.ld
-       $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(SAT_CLIB) -lgcc
+       $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
 
 ../altitude-pa.h: make-altitude-pa
        nickle $< > $@