Makefile 687 B

123456789101112131415161718192021222324
  1. TARGET = sdlpal
  2. SOURCES = . ../src ../src/adplug ../src/libmad
  3. CFILES = $(foreach dir, $(SOURCES), $(wildcard $(dir)/*.c)) input_PSP.c main_PSP.c
  4. CPPFILES = $(foreach dir, $(SOURCES), $(wildcard $(dir)/*.cpp))
  5. OFILES = $(CFILES:.c=.o) $(CPPFILES:.cpp=.o)
  6. PSPSDK = $(shell psp-config --pspsdk-path)
  7. INCDIR =
  8. CFLAGS = -O3 -G0 -Wall -g `$(PSPSDK)/../bin/sdl-config --cflags` -DPSP=1 -I. -I../src
  9. CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti `$(PSPSDK)/../bin/sdl-config --cflags`
  10. ASFLAGS = $(CFLAGS)
  11. LIBDIR =
  12. LIBS = `$(PSPSDK)/../bin/sdl-config --libs` -lstdc++
  13. EXTRA_TARGETS = EBOOT.PBP
  14. PSP_EBOOT_TITLE = sdlpal
  15. BUILD_PRX = 1
  16. PSP_FW_VERSION = 371
  17. include $(PSPSDK)/lib/build.mak