altos: Megametrum uses altitude-pa.h, not altitude.h
authorKeith Packard <keithp@keithp.com>
Fri, 12 Oct 2012 21:08:19 +0000 (14:08 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 12 Oct 2012 21:08:19 +0000 (14:08 -0700)
Make sure megametrum gets rebuilt as needed when the various
altitude-pa related files change

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

index a93f6f1742d856ad19a36718a1590a4f04007ab1..0e0534a5036b5a47c56f29a932c4d1eea9d9196e 100644 (file)
@@ -13,7 +13,7 @@ INC = \
        ao_data.h \
        ao_sample.h \
        ao_pins.h \
-       altitude.h \
+       altitude-pa.h \
        ao_kalman.h \
        ao_product.h \
        ao_ms5607.h \
@@ -99,7 +99,7 @@ all: $(PROG)
 $(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)