altos: Shrink ao_add_task by rolling up a memset loop
[fw/altos] / src / Makefile
1 #
2 # AltOS build
3 #
4 #
5 CC=sdcc
6
7 include Version
8
9 SUBDIRS=\
10         telemetrum-v1.1 telemetrum-v1.0 \
11         teledongle-v0.2 teledongle-v0.1 \
12         telemini-v0.1 telenano-v0.1 \
13         telebt-v0.0 telebt-v0.1 \
14         telemetrum-v0.1-sky telemetrum-v0.1-sirf \
15         tidongle test
16
17 all: all-recursive
18
19 RECURSIVE_TARGETS = all-recursive clean-recursive install-recursive
20
21 $(RECURSIVE_TARGETS):
22         @target=`echo $@ | sed 's/-recursive//'`; \
23         for subdir in $(SUBDIRS); do \
24                 echo "Making $$target in $$subdir"; \
25                 (cd $$subdir && $(MAKE) $$target) || exit 1; \
26         done
27
28 distclean:      clean
29
30 clean: clean-recursive
31
32 install: install-recursive
33
34 uninstall: