-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
37 lines (31 loc) · 1.17 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
#---------------------------------------------------------------------------------
# Clear the implicit built in rules
#---------------------------------------------------------------------------------
.SUFFIXES:
#---------------------------------------------------------------------------------
ifeq ($(strip $(PSL1GHT)),)
$(error "Please set PSL1GHT in your environment. export PSL1GHT=<path>")
endif
all:
@make -C common --no-print-directory
@make -C ppu --no-print-directory
@make -C spu --no-print-directory
@make -C tools --no-print-directory
install-ctrl:
@[ -d $(PSL1GHT)/host ] || mkdir -p $(PSL1GHT)/host
@cp -frv base_rules $(PSL1GHT)/host
@cp -frv ppu_rules $(PSL1GHT)/host
@cp -frv spu_rules $(PSL1GHT)/host
install-socat:
@make -C tools install-socat --no-print-directory
install:
@make -C common install --no-print-directory
@make -C ppu install --no-print-directory
@make -C spu install --no-print-directory
@make -C tools install --no-print-directory
clean:
@make -C common clean --no-print-directory
@make -C ppu clean --no-print-directory
@make -C spu clean --no-print-directory
@make -C tools clean --no-print-directory
.PHONY: all clean install