-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathmakefile
37 lines (30 loc) · 901 Bytes
/
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
# workspace (all)
###########################################################
ifeq (,$(PLATFORM))
PLATFORM=$(UNION_PLATFORM)
endif
ifeq (,$(PLATFORM))
$(error please specify PLATFORM, eg. PLATFORM=trimui make)
endif
###########################################################
.PHONY: all
all:
cd ./$(PLATFORM)/libmsettings && make
cd ./$(PLATFORM) && make early # eg. other libs
cd ./$(PLATFORM)/keymon && make
cd ./all/minui/ && make
cd ./all/minarch/ && make
cd ./all/clock/ && make
cd ./all/minput/ && make
cd ./all/syncsettings/ && make
cd ./$(PLATFORM)/cores && make
cd ./$(PLATFORM) && make
clean:
cd ./$(PLATFORM)/libmsettings && make clean
cd ./$(PLATFORM)/keymon && make clean
cd ./all/minui/ && make clean
cd ./all/minarch/ && make clean
cd ./all/clock/ && make clean
cd ./all/minput/ && make clean
cd ./all/syncsettings/ && make clean
cd ./$(PLATFORM) && make clean