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