-
Notifications
You must be signed in to change notification settings - Fork 16
/
Makefile
102 lines (75 loc) · 2.48 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
OPENWARE = $(CURDIR)
# Debug / Release
ifndef CONFIG
CONFIG = Release
endif
.PHONY: clean
# To avoid problems on case insensitive filesystems, mark all targets named the same as a directory as phony
.PHONY: alchemist wizard magus lich owlpedal quadfm player prism effectsbox noctua biosignals witch midiboot1 midiboot2 midiboot3 tesseract genius acdc xdk
export OPENWARE CONFIG
all: alchemist wizard magus lich witch owlpedal genius biosignals acdc xdk midiboot1 midiboot2 midiboot3 # effectsbox tesseract prism player quadfm noctua ## build most targets
midiboot1: ## build MidiBoot1 project
@$(MAKE) -C MidiBoot1 all
midiboot2: ## build MidiBoot2 project
@$(MAKE) -C MidiBoot2 all
midiboot3: ## build MidiBoot3 project
@$(MAKE) -C MidiBoot3 all
tesseract: ## build Tesseract project
@$(MAKE) -C Tesseract all
genius: ## build Genius project
@$(MAKE) -C Genius all
acdc: ## build ACDC project
@$(MAKE) -C ACDC all
xdk: ## build XibecaDevKit project
@$(MAKE) -C XibecaDevKit all
witch: ## build Witch project
@$(MAKE) -C Witch all
lich: ## build Lich project
@$(MAKE) -C Lich all
alchemist: ## build Alchemist project
@$(MAKE) -C Alchemist all
wizard: ## build Wizard project
@$(MAKE) -C Wizard all
owlpedal: ## build OWL Pedal project
@$(MAKE) -C OwlPedal all
quadfm: ## build QuadFM project
@$(MAKE) -C QuadFM all
player: ## build Player project
@$(MAKE) -C PlayerF7 all
prism: ## build Prism project
@$(MAKE) -C Prism all
magus: ## build Magus project
@$(MAKE) -C Magus all
effectsbox: ## build EffectsBox project
@$(MAKE) -C EffectsBox all
noctua: ## build Noctua project
@$(MAKE) -C Noctua all
biosignals: ## build BioSignals project
@$(MAKE) -C BioSignals all
clean: ## remove generated files
@$(MAKE) -C Tesseract clean
@$(MAKE) -C Witch clean
@$(MAKE) -C Lich clean
@$(MAKE) -C Alchemist clean
@$(MAKE) -C Wizard clean
@$(MAKE) -C OwlPedal clean
@$(MAKE) -C PlayerF7 clean
@$(MAKE) -C PrismF7 clean
@$(MAKE) -C Prism clean
@$(MAKE) -C Magus clean
@$(MAKE) -C QuadFM clean
@$(MAKE) -C EffectsBox clean
@$(MAKE) -C Noctua clean
@$(MAKE) -C BioSignals clean
@$(MAKE) -C Genius clean
@$(MAKE) -C ACDC clean
@$(MAKE) -C XibecaDevKit clean
@$(MAKE) -C MidiBoot1 clean
@$(MAKE) -C MidiBoot2 clean
@$(MAKE) -C MidiBoot3 clean
docs: ## generate HTML documentation
@doxygen Doxyfile
help: ## show this help
@echo 'Usage: make [target] ...'
@echo 'Targets:'
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/^\(.*\): .*##\(.*\)/\1:#\2/' | column -t -c 2 -s '#'