-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
63 lines (45 loc) · 1.3 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#DIRECTORIES = app-8-out app-8-in app-2-dimme rf-app-pirr
#DIRECTORIES = app-8-out app-8-in
DIRECTORIES = app-8-out app-8-in app-4-rollo app-4-out
all:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i; done
debug:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i debug; done
doc: hex
-doxygen
hex:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i hex; done
bin:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i bin; done
debug-hex:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i debug-hex; done
debug-bin:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i debug-bin; done
clean:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i clean; done
distclean:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i distclean; done
debug-clean:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i debug-clean; done
debug-distclean:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i debug-distclean; done
stats:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i stats; done
release:
@for i in $(DIRECTORIES); do $(MAKE) -C $$i release; done
avrlib:
$(MAKE) -C lib
$(MAKE) -C lib install
debug-avrlib:
$(MAKE) -C lib debug
$(MAKE) -C lib debug-install
avrlib-clean:
$(MAKE) -C lib clean
debug-avrlib-clean:
$(MAKE) -C lib debug-clean
.PHONY: avrlib-distclean avrlib-clean
avrlib-distclean: avrlib-clean
$(RM) *.a
avrlib-install:
$(MAKE) -C lib install
# DO NOT DELETE