altos: Megametrum uses altitude-pa.h, not altitude.h
[fw/altos] / src / megametrum-v0.1 / Makefile
index d415b59b4493f07e963939773f0a66e3a1a8ba4b..0e0534a5036b5a47c56f29a932c4d1eea9d9196e 100644 (file)
@@ -9,15 +9,17 @@ INC = \
        ao.h \
        ao_arch.h \
        ao_arch_funcs.h \
+       ao_companion.h \
        ao_data.h \
        ao_sample.h \
        ao_pins.h \
-       altitude.h \
+       altitude-pa.h \
        ao_kalman.h \
        ao_product.h \
        ao_ms5607.h \
        ao_hmc5883.h \
        ao_mpu6000.h \
+       ao_mma655x.h \
        ao_cc1120_CC1120.h \
        ao_profile.h \
        ao_whiten.h \
@@ -54,7 +56,10 @@ ALTOS_SRC = \
        ao_cc1120.c \
        ao_fec_tx.c \
        ao_fec_rx.c \
+       ao_data.c \
        ao_ms5607.c \
+       ao_mma655x.c \
+       ao_hmc5883.c \
        ao_adc_stm.c \
        ao_beep_stm.c \
        ao_storage.c \
@@ -91,10 +96,10 @@ OBJ=$(SRC:.c=.o)
 
 all: $(PROG)
 
-$(PROG): Makefile $(OBJ)
+$(PROG): Makefile $(OBJ) altos.ld
        $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(SAT_CLIB) -lgcc
 
-../altitude.h: make-altitude
+../altitude-pa.h: make-altitude-pa
        nickle $< > $@
 
 $(OBJ): $(INC)