-
Notifications
You must be signed in to change notification settings - Fork 0
/
data_rules
75 lines (59 loc) · 2.46 KB
/
data_rules
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
ifeq ($(strip $(PS3DEV)),)
ifeq ($(strip $(DEVKITPS3)),)
export PS3DEV := /usr/local/ps3dev
else
export PS3DEV := $(DEVKITPS3)
endif
endif
export PATH := $(PS3DEV)/bin:$(PS3DEV)/ppu/bin:$(PATH)
export PORTLIBS := $(PS3DEV)/portlibs/ppu
export LIBPSL1GHT_INC := -I$(PSL1GHT)/ppu/include -I$(PSL1GHT)/ppu/include/simdmath
export LIBPSL1GHT_LIB := -L$(PSL1GHT)/ppu/lib
PREFIX := ppu-
MACHDEP = -mhard-float -fmodulo-sched -ffunction-sections -fdata-sections
include $(PSL1GHT)/base_rules
#---------------------------------------------------------------------------------
%.bin.o : %.bin
#---------------------------------------------------------------------------------
$(VERB) echo $(notdir $<)
$(VERB) $(bin2o)
#---------------------------------------------------------------------------------
%.ttf.o : %.ttf
#---------------------------------------------------------------------------------
$(VERB) echo $(notdir $<)
$(VERB) $(bin2o)
#---------------------------------------------------------------------------------
%.png.o : %.png
#---------------------------------------------------------------------------------
@echo $(notdir $<)
@$(bin2o)
#---------------------------------------------------------------------------------
%.jpg.o : %.jpg
#---------------------------------------------------------------------------------
@echo $(notdir $<)
@$(bin2o)
#---------------------------------------------------------------------------------
%.gif.o : %.gif
#---------------------------------------------------------------------------------
@echo $(notdir $<)
@$(bin2o)
#---------------------------------------------------------------------------------
%.raw.o : %.raw
#---------------------------------------------------------------------------------
$(VERB) echo $(notdir $<)
$(VERB) $(bin2o)
#---------------------------------------------------------------------------------
%.mp3.o : %.mp3
#---------------------------------------------------------------------------------
$(VERB) echo $(notdir $<)
$(VERB) $(bin2o)
#---------------------------------------------------------------------------------
%.vpo.o : %.vpo
#---------------------------------------------------------------------------------
$(VERB) echo $(notdir $<)
$(VERB) $(bin2o)
#---------------------------------------------------------------------------------
%.fpo.o : %.fpo
#---------------------------------------------------------------------------------
$(VERB) echo $(notdir $<)
$(VERB) $(bin2o)