With MULT and DIV operations
[pspdecompiler.git] / tests / Makefile
blob30241745c88b16ed370efd346dfee339a168fd1e
1 TARGET = testprx
2 OBJS = test.o test_asm.o
4 INCDIR =
5 CFLAGS = -O2 -G0 -Wall -fno-builtin-printf -fno-builtin-log -mno-check-zero-division -mdivide-traps
6 CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
7 ASFLAGS = $(CFLAGS)
8 LDFLAGS = -mno-crt0 -nostartfiles
10 LIBDIR =
12 LIBS =
14 PRX_EXPORTS=exports.exp
16 # Use the kernel's small inbuilt libc
17 USE_KERNEL_LIBC = 1
18 # Use only kernel libraries
19 #USE_KERNEL_LIBS = 1
20 BUILD_PRX=1
22 PSPSDK=$(shell psp-config --pspsdk-path)
23 include $(PSPSDK)/lib/build.mak