forked from hcorion/PSL1GHT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (38 loc) · 1.32 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
#---------------------------------------------------------------------------------
# Clear the implicit built in rules
#---------------------------------------------------------------------------------
.SUFFIXES:
#---------------------------------------------------------------------------------
ifeq ($(strip $(PSL1GHT)),)
$(error "Please set PSL1GHT in your environment. export PSL1GHT=<path>")
endif
.PHONY: samples
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
samples:
@$(MAKE) -C samples --no-print-directory
doc:
@doxygen doxygen.conf
install-ctrl:
@[ -d $(PSL1GHT) ] || mkdir -p $(PSL1GHT)
@cp -frv base_rules $(PSL1GHT)
@cp -frv ppu_rules $(PSL1GHT)
@cp -frv spu_rules $(PSL1GHT)
@cp -frv data_rules $(PSL1GHT)
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
@rm -rf doc
.PHONY: all clean install