-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmakefile
120 lines (92 loc) · 2.74 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Main Makefile for FB Alpha, execute an appropriate system-specific makefile
export
#
# Declare variables
#
# Make a special build, pass the quoted text as comment (use FORCE_UPDATE declaration below to force recompilation of resources)
# SPECIALBUILD = "This text will appear in the property sheet of the .exe file"
#
# Flags. Uncomment any of these declarations to enable their function.
#
# Inluclude Unicode support
#UNICODE = 1
# Include symbols and other debug information in the executable
#SYMBOL = 1
# Include features for debugging drivers
#DEBUG = 1
# Include rom set verifying features (comment this for release builds)
#ROM_VERIFY = 1
# Force recompilation of files that need it (i.e. use __TIME__, __DATE__, SPECIALBUILD).
#FORCE_UPDATE = 1
# Use the __fastcall calling convention when interfacing with A68K/Musashi/Doze
#FASTCALL = 1
# Compress executable with upx (the DEBUG option ignores this)
# COMPRESS = 1
# Perl is available
PERL = 1
#
# execute an appropriate system-specific makefile
#
test: FORCE
@$(MAKE) -f makefile.test
psikyo: FORCE
@$(MAKE) -s -f makefile.psikyo
all: FORCE
@$(MAKE) -s -f makefile.all
mid: FORCE
@$(MAKE) -s -f makefile.mid
small: FORCE
@$(MAKE) -s -f makefile.small
cave: FORCE
@$(MAKE) -s -f makefile.cave
pgm: FORCE
@$(MAKE) -s -f makefile.pgm
pgm_new: FORCE
@$(MAKE) -s -f makefile.pgm_new
sega: FORCE
@$(MAKE) -s -f makefile.sega
cps3: FORCE
@$(MAKE) -s -f makefile.cps3
clean: FORCE
-@rm -f -r obj/PSP/psp
-@rm -f -r obj/PSP/burn/burn*
-@rm -f -r src/generated/driverlist.h
alltarget : FORCE
-@rm -f -r obj/PSP/psp
-@rm -f -r obj/PSP/burn/burn*
-@rm -f -r src/generated/driverlist.h
@$(MAKE) -s -f makefile.pgm
-@rm -f -r obj/PSP/psp
-@rm -f -r obj/PSP/burn/burn*
-@rm -f -r src/generated/driverlist.h
@$(MAKE) -s -f makefile.pgm_new
-@rm -f -r obj/PSP/psp
-@rm -f -r obj/PSP/burn/burn*
-@rm -f -r src/generated/driverlist.h
@$(MAKE) -s -f makefile.cave
-@rm -f -r obj/PSP/psp
-@rm -f -r obj/PSP/burn/burn*
-@rm -f -r src/generated/driverlist.h
@$(MAKE) -s -f makefile.cps3
-@rm -f -r obj/PSP/psp
-@rm -f -r obj/PSP/burn/burn*
-@rm -f -r src/generated/driverlist.h
@$(MAKE) -s -f makefile.sega
-@rm -f -r obj/PSP/psp
-@rm -f -r obj/PSP/burn/burn*
-@rm -f -r src/generated/driverlist.h
@$(MAKE) -s -f makefile.small
-@rm -f -r obj/PSP/psp
-@rm -f -r obj/PSP/burn/burn*
-@rm -f -r src/generated/driverlist.h
@$(MAKE) -s -f makefile.mid
-@rm -f -r obj/PSP/psp
-@rm -f -r obj/PSP/burn/burn*
-@rm -f -r src/generated/driverlist.h
@$(MAKE) -s -f makefile.all
FORCE:
# @$(MAKE) -C src/psp/me/mediaengineprx clean
# @$(MAKE) -C src/psp/me/mediaengineprx
# @$(MAKE) -C src/psp/me/me_load
# @cp src/psp/me/mediaengineprx/mediaengine.prx bin/
# @cp src/psp/me/me_load/me_load.bin bin/