Debian Codegraph @

port/psp/Makefile

raw symbols SCIP
1 TARGET = powder
2
3 PSPSDK = $(shell psp-config --pspsdk-path)
4 PSPBIN = $(shell psp-config --psp-prefix)/bin
5 SDL_CONFIG = $(PSPBIN)/sdl-config
6
7 DEFAULT_CFLAGS = $(shell $(SDL_CONFIG) --cflags)
8 PSP_FW_VERSION=371
9 EXTRA_TARGETS = EBOOT.PBP
10 PSP_EBOOT_TITLE = Powder
11 PSP_EBOOT_ICON= icon0.png
12 PSP_EBOOT_PIC1 = pic1.png
13
14 OBJS = pspmain.o \
15 hamfake.o \
16 ../../action.o \
17 ../../assert.o \
18 ../../ai.o \
19 ../../artifact.o \
20 ../../bmp.o \
21 ../../build.o \
22 ../../buf.o \
23 ../../control.o \
24 ../../creature.o \
25 ../../dpdf_table.o \
26 ../../encyc_support.o \
27 ../../gfxengine.o \
28 ../../grammar.o \
29 ../../hiscore.o \
30 ../../input.o \
31 ../../intrinsic.o \
32 ../../item.o \
33 ../../map.o \
34 ../../mobref.o \
35 ../../msg.o \
36 ../../name.o \
37 ../../piety.o \
38 ../../rand.o \
39 ../../signpost.o \
40 ../../smokestack.o \
41 ../../speed.o \
42 ../../sramstream.o \
43 ../../stylus.o \
44 ../../victory.o \
45 ../../encyclopedia.o \
46 ../../glbdef.o \
47 ../../credits.o \
48 ../../license.o \
49 ../../gfx/all_bitmaps.o \
50 ../../rooms/allrooms.o
51
52 #include ../../make/makerules.LINUX
53
54 CFLAGS = -O3 -g -G0 $(GLOBAL_CFLAGS) -Wall -DSYS_PSP $(INCLUDES) -I/usr/local/pspdev/psp/include/freetype2 \
55 -I/usr/local/pspdev/psp/sdk/include -I/usr/local/pspdev/psp/include/SDL \
56 -DLINUX -I ../../port/sdl \
57 -I .
58
59 CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
60 ASFLAGS = $(CFLAGS)
61
62 LIBS += $(shell $(SDL_CONFIG) --libs) \
63 -lpsppower -lpspaudio -lpspgu -lpsphprm -lpsprtc -lstdc++ -lz -lm
64
65
66 include $(PSPSDK)/lib/build.mak
67
68 all: EBOOT.PBP
69
70 pclean:
71 cd ../.. ; rm -f *.o
72 cd ../../gfx ; rm -f *.o
73 rm -f *.o
74 cd ../sdl ; rm -f *.o
75 rm -f $(TARGET)
76
77 premake:
78 cd ../../rooms ; ./buildrooms.bash
79 cd ../../gfx ; ./rebuild.sh
80 cd ../.. ; support/enummaker/enummaker source.txt
81 cd ../.. ; support/txt2c/txt2c LICENSE.TXT license.cpp
82 cd ../.. ; support/txt2c/txt2c CREDITS.TXT credits.cpp
83 cd ../.. ; support/encyclopedia2c/encyclopedia2c encyclopedia.txt