From: Keith Packard Date: Fri, 12 Oct 2012 21:08:19 +0000 (-0700) Subject: altos: Megametrum uses altitude-pa.h, not altitude.h X-Git-Tag: 1.1.9.1~35 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=767b74e1466ad4e31746340081d6d60e40359425;ds=sidebyside altos: Megametrum uses altitude-pa.h, not altitude.h Make sure megametrum gets rebuilt as needed when the various altitude-pa related files change Signed-off-by: Keith Packard --- diff --git a/src/megametrum-v0.1/Makefile b/src/megametrum-v0.1/Makefile index a93f6f17..0e0534a5 100644 --- a/src/megametrum-v0.1/Makefile +++ b/src/megametrum-v0.1/Makefile @@ -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)