-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
55 lines (49 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
TARGET = wolf3d
OBJS = Src/automap.o \
Src/ff_psp.o \
Src/id_ca.o \
Src/id_us.o \
Src/id_vh.o \
Src/misc.o \
Src/objs.o \
Src/fmopl.o \
Src/vi_comm.o \
Src/vi_sdl.o \
Src/wl_act1.o \
Src/wl_act2.o \
Src/wl_act3.o \
Src/wl_agent.o \
Src/wl_debug.o \
Src/sd_comm.o \
Src/sd_sdl.o \
Src/wl_draw.o \
Src/wl_game.o \
Src/wl_inter.o \
Src/wl_main.o \
Src/wl_text.o \
Src/wl_menu.o \
Src/wl_play.o \
Src/wl_state.o \
Src/pspDveManager.o \
CFLAGS = -O1 -G0 -Wall -g -DHAVE_FFBLK -DDOSISM
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LIBS = -L/usr/local/pspsdk/lib
LDFLAGS =
BUILD_PRX = 1
PSP_FW_VERSION = 401
PSP_LARGE_MEMORY = 1
CFLAGS += -DWMODE=0
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Wolfenstein 3D
#PSP_EBOOT_TITLE = Wolfenstein 3D Shareware
#PSP_EBOOT_TITLE = Spear of Destiny
#PSP_EBOOT_TITLE = Spear of Destiny Episode 2
#PSP_EBOOT_TITLE = Spear of Destiny Episode 3
#PSP_EBOOT_TITLE = Spear of Destiny Shareware
PSPSDK=$(shell psp-config --pspsdk-path)
PSPBIN = $(PSPSDK)/../bin
CFLAGS += $(shell $(PSPBIN)/sdl-config --cflags)
LIBS += $(shell $(PSPBIN)/sdl-config --libs)
include $(PSPSDK)/lib/build.mak