5 vpath make-altitude util
6 vpath make-altitude-pa util
10 vpath kalman_filter.5c kalman
11 vpath load_csv.5c kalman
12 vpath matrix.5c kalman
16 ifneq ($(shell which sdcc),)
18 telemetrum-v1.2 telemetrum-v1.1 telemetrum-v1.0 \
19 teledongle-v0.2 teledongle-v0.1 \
20 telemini-v1.0 telenano-v0.1 \
21 telebt-v0.0 telebt-v0.1 \
22 telemetrum-v0.1-sky telemetrum-v0.1-sirf \
23 telelaunch-v0.1 tidongle test \
24 teleterra-v0.2 teleshield-v0.1
27 ifneq ($(shell which avr-gcc),)
28 SUBDIRS += telescience-v0.1 telepyro-v0.1
31 ifneq ($(shell which arm-none-eabi-gcc),)
32 SUBDIRS += megametrum-v0.1 stm-bringup stm-demo
35 all: all-local all-recursive
37 RECURSIVE_TARGETS = all-recursive clean-recursive install-recursive
40 @target=`echo $@ | sed 's/-recursive//'`; \
41 for subdir in $(SUBDIRS); do \
42 echo "Making $$target in $$subdir"; \
43 (cd $$subdir && $(MAKE) $$target) || exit 1; \
48 clean: clean-local clean-recursive
50 install: install-recursive
54 all-recursive: all-local
56 all-local: altitude.h altitude-pa.h ao_kalman.h ao_whiten.h
58 altitude.h: make-altitude
61 altitude-pa.h: make-altitude-pa
64 ao_kalman.h: make-kalman kalman.5c kalman_filter.5c load_csv.5c matrix.5c
67 ao_whiten.h: make-whiten
71 rm -f altitude.h ao_kalman.h