-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
45 lines (35 loc) · 1.36 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
PAYLOADS = 421C 421D 430C 430D 431C 440C 441C 441D \
446C 446D 450C 450D 453C 453D 455C 455D \
460C 465C 465D 466C 466D 470C 470D \
475C 476C 478C 480C 481C 482C 483C 484C 485C 486C 487C 488C 489C 490C \
475D 476D 478D 480D 481D 482D 483D 484D 485D 486D 487D 488D 489D 490D \
475E 476E 478E 480E 481E 482E 483E 484E 485E 486E 487E 488E 489E 490E
#PAYLOADS = 484C 484D 490C
PAYLOADS = 490C 421C
export MAMBA_VER
clean:
@make -f Makefile_release clean
all: $(PAYLOADS)
$(PAYLOADS):
$(eval MAMBA_VER = $@)
@echo building mamba_$(MAMBA_VER).bin
@make -f Makefile_release clean --no-print-directory
@make -f Makefile_release all --no-print-directory
@echo building debug/mamba_$(MAMBA_VER).bin
@make -f Makefile_debug clean --no-print-directory
@make -f Makefile_debug all --no-print-directory
release: release_$(PAYLOADS)
release_%:
$(eval MAMBA_VER = $(subst release_,,$@))
@echo building mamba_$(MAMBA_VER).bin
@make -f Makefile_release clean --no-print-directory
@make -f Makefile_release all --no-print-directory
debug: debug_$(PAYLOADS)
debug_%:
$(eval MAMBA_VER = $(subst debug_,,$@))
@echo building debug/mamba_$(MAMBA_VER).bin
@make -f Makefile_debug clean --no-print-directory
@make -f Makefile_debug all --no-print-directory
loader:
make -f Makefile_loader clean --no-print-directory
make -f Makefile_loader --no-print-directory