5 vpath make-altitude util
6 vpath make-altitude-pa util
10 vpath kalman_filter.5c kalman
11 vpath kalman_micro.5c kalman
12 vpath load_csv.5c kalman
13 vpath matrix.5c kalman
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 \
26 spiradio-v0.1 telescience-v0.2
29 telescience-v0.1 telescience-pwm telepyro-v0.1 micropeak
32 megametrum-v0.1 megadongle-v0.1 stm-bringup stm-demo telelco-v0.1
34 ifneq ($(shell which sdcc),)
35 SUBDIRS += $(SDCCDIRS)
38 ifneq ($(shell which avr-gcc),)
42 ifneq ($(shell which arm-none-eabi-gcc),)
46 ALLDIRS=$(SDCCDIRS) $(AVRDIRS) $(ARMDIRS)
48 all: all-local all-recursive
50 RECURSIVE_TARGETS = all-recursive install-recursive
53 @target=`echo $@ | sed 's/-recursive//'`; \
54 for subdir in $(SUBDIRS); do \
55 echo "Making $$target in $$subdir"; \
56 (cd $$subdir && $(MAKE) $$target) || exit 1; \
59 ALL_RECURSIVE_TARGETS = clean-recursive
61 $(ALL_RECURSIVE_TARGETS):
62 @target=`echo $@ | sed 's/-recursive//'`; \
63 for subdir in $(ALLDIRS); do \
64 echo "Making $$target in $$subdir"; \
65 (cd $$subdir && $(MAKE) $$target) || exit 1; \
70 clean: clean-local clean-recursive
72 install: install-recursive
76 all-recursive: all-local
78 all-local: altitude.h altitude-pa.h ao_kalman.h ao_whiten.h
80 altitude.h: make-altitude
83 altitude-pa.h: make-altitude-pa
86 ao_kalman.h: make-kalman kalman.5c kalman_filter.5c load_csv.5c matrix.5c
89 ao_whiten.h: make-whiten
93 rm -f altitude.h ao_kalman.h