Line No. | Rev | Author | Line |
---|---|---|---|
1 | 6 | kaklik | |
2 | ###### Define directories to build ###### |
||
3 | |||
4 | SUBDIRS = a2d \ |
||
5 | ads7828 \ |
||
6 | ads7870 \ |
||
7 | basic_io \ |
||
8 | cmdline \ |
||
9 | ds1631 \ |
||
10 | encoder \ |
||
11 | extint \ |
||
12 | glcd \ |
||
13 | gps \ |
||
14 | i2c \ |
||
15 | lcd \ |
||
16 | mmc \ |
||
17 | netstack \ |
||
18 | pulse \ |
||
19 | rprintf \ |
||
20 | servo \ |
||
21 | spyglass \ |
||
22 | stxetx \ |
||
23 | timer \ |
||
24 | |||
25 | #SUBDIRS = $(dir ./*) |
||
26 | |||
27 | ###### Define build rules ###### |
||
28 | |||
29 | .PHONY: examples $(SUBDIRS) |
||
30 | examples: $(SUBDIRS) |
||
31 | |||
32 | $(SUBDIRS): |
||
33 | $(MAKE) -C $@ $(MAKECMDGOALS) |
||
34 | |||
35 | .PHONY : all |
||
36 | all : examples |
||
37 | |||
38 | .PHONY : clean |
||
39 | clean : examples |
||
40 | rm -vf $(addsuffix /AVRProject.ncb, $(SUBDIRS)) |
||
41 | rm -vf $(addsuffix /AVRProject.opt, $(SUBDIRS)) |
||
42 | rm -vf $(addsuffix /AVRProject.plg, $(SUBDIRS)) |
||
43 | rm -vf ../*.lst |
||
44 | rm -vf ../ccrma/*.lst |
||
45 | rm -vf ../megaio/*.lst |
||
46 | rm -vf ../net/*.lst |
||
47 | rm -vf ../rsl/*.lst |
||
48 |
Powered by WebSVN v2.8.3