summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-25 13:08:05 -0700
committerKeith Packard <keithp@keithp.com>2012-03-28 21:37:04 -0700
commita157edbe1bf7fffd5a6041f7b1760674addd2229 (patch)
treecf887dc5ce71cff1169fcfdabd7b5b2474804456 /src
parentc1531fb26461b9f4ec39672bbfaeb70e6f4d1056 (diff)
stm-demo does not use altitude.h
Diffstat (limited to 'src')
-rw-r--r--src/megametrum-v0.1/Makefile2
-rw-r--r--src/stm-demo/Makefile10
2 files changed, 1 insertions, 11 deletions
diff --git a/src/megametrum-v0.1/Makefile b/src/megametrum-v0.1/Makefile
index 510bee6a..b07d1e1d 100644
--- a/src/megametrum-v0.1/Makefile
+++ b/src/megametrum-v0.1/Makefile
@@ -45,8 +45,6 @@ OBJ=$(SRC:.c=.o)
all: $(PROG)
-LDFLAGS=-L../stm -Wl,-Taltos.ld
-
$(PROG): Makefile $(OBJ)
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(SAT_CLIB) -lgcc
diff --git a/src/stm-demo/Makefile b/src/stm-demo/Makefile
index f1655d57..366291c6 100644
--- a/src/stm-demo/Makefile
+++ b/src/stm-demo/Makefile
@@ -9,8 +9,6 @@ INC = \
ao.h \
ao_arch.h \
ao_pins.h \
- altitude.h \
- ao_kalman.h \
ao_product.h
#
@@ -48,16 +46,10 @@ LDFLAGS=-L../stm -Wl,-Taltos.ld
$(PROG): Makefile $(OBJ)
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(SAT_CLIB) -lgcc
-../altitude.h: make-altitude
- nickle $< > $@
-
-$(OBJ): $(INC)
-
ao_product.h: ao-make-product.5c ../Version
$(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
-ao_product.rel: ao_product.c ao_product.h
- $(call quiet,CC) -c $(CFLAGS) -D PRODUCT_DEFS='\"ao_product.h\"' -o$@ $<
+$(OBJ): $(INC)
distclean: clean