-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
62 lines (53 loc) · 1.42 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
TARGET = bow
TYPE = ps-exe
SRCS = bow.c \
../common/crt0/crt0.s \
TIM/bowsht.tim \
TIM/bowbg.tim \
TIM/menu.tim \
TIM/inst.tim \
VAG/vil.vag \
VAG/crowd.vag \
VAG/shoot.vag \
VAG/folks.vag \
VAG/ready.vag \
VAG/pop.vag \
VAG/jmp.vag \
VAG/toc.vag \
CPPFLAGS += -I../psyq/include
LDFLAGS += -L../psyq/lib
LDFLAGS += -Wl,--start-group
LDFLAGS += -lapi
LDFLAGS += -lc
LDFLAGS += -lc2
LDFLAGS += -lcard
LDFLAGS += -lcomb
LDFLAGS += -lds
LDFLAGS += -letc
LDFLAGS += -lgpu
LDFLAGS += -lgs
LDFLAGS += -lgte
LDFLAGS += -lgun
LDFLAGS += -lhmd
LDFLAGS += -lmath
LDFLAGS += -lmcrd
LDFLAGS += -lmcx
LDFLAGS += -lpad
LDFLAGS += -lpress
LDFLAGS += -lsio
LDFLAGS += -lsnd
LDFLAGS += -lspu
LDFLAGS += -ltap
LDFLAGS += -Wl,--end-group
include ../common.mk \
#bowsht.tim:
#~ img2tim -org 512 0 -plt 0 960 -bpp 8 -o bowsht.tim bow.png
#~ img2tim -org 512 0 -bpp 16 -o bowsht.tim bow.png
#~ bowbg.tim:
#~ img2tim -org 512 256 -plt 0 961 -bpp 8 -o bowbg.tim bow-bg.png
#~ img2tim -org 512 256 -bpp 16 -o bowbg.tim bow-bg.png
#~ nugget : add binary to psx-exe
#~ bowsht.o: bowsht.tim
#~ $(PREFIX)-objcopy -I binary --set-section-alignment .data=4 --rename-section .data=.rodata,alloc,load,readonly,data,contents -O elf32-tradlittlemips -B mips bowsht.tim bowsht.o
#~ bowbg.o: bowbg.tim
#~ $(PREFIX)-objcopy -I binary --set-section-alignment .data=4 --rename-section .data=.rodata,alloc,load,readonly,data,contents -O elf32-tradlittlemips -B mips bowbg.tim bowbg.o