-
Notifications
You must be signed in to change notification settings - Fork 3
/
makefile.test
50 lines (38 loc) · 924 Bytes
/
makefile.test
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
TARGET = VTest
OBJS = test.o player.o voice_pack.o config.o io.o event.o mutex.o \
sceKernelMutex.o sceDmac.o
DIR_BIN = bin
DIR_SRC = src
DIR_TMP = bin/tmp
ifeq ($(DIR_TMP),)
EXTRA_CLEAN += sf_ogg.o sf_wav.o sf_at3.o
else
EXTRA_CLEAN += $(DIR_TMP)/sf_ogg.o $(DIR_TMP)/sf_wav.o $(DIR_TMP)/sf_at3.o
endif
CFLAGS = -O2 -G0 -Wall -std=c99
CXXFLAGS = -O2 -G0 -Wall -std=c++0x -fno-exceptions -fno-rtti
LDFLAGS =
INCDIR = ./extlibs/include $(PSPDEV)/psp/include
LIBDIR = ./extlibs/lib
LIBS = -lvorbisidec -logg
LIBS += -lpsprtc -lpspatrac3 -lpspaudio
#USE_PSPSDK_LIBC = 1
ifneq ($(DEBUG),)
CFLAGS += -DDEBUG=1
CXXFLAGS += -DDEBUG=1
endif
ifneq ($(AT3),0)
OBJS += sf_at3.o
endif
ifneq ($(WAV),0)
OBJS += sf_wav.o
endif
ifneq ($(OGG),0)
OBJS += sf_ogg.o
endif
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Voice Test
PSP_FW_VERSION=660
NO_AUTO_STDCVER = 1
PSPSDK=$(shell psp-config --pspsdk-path)
include ./build.mak