mirror of
https://github.com/joel16/CMFileManager-PSP.git
synced 2025-02-17 06:08:19 +00:00
32 lines
795 B
Makefile
32 lines
795 B
Makefile
TARGET = CMFileManager
|
|
|
|
OBJS = source/main.o
|
|
|
|
PSP_LARGE_MEMORY = 1
|
|
|
|
VERSION_MAJOR := 4
|
|
VERSION_MINOR := 1
|
|
VERSION_MICRO := 0
|
|
|
|
INCDIR = ../libs/include
|
|
CFLAGS = -Os -G0 -Wall -Werror -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DVERSION_MICRO=$(VERSION_MICRO)
|
|
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
|
ASFLAGS := $(CFLAGS)
|
|
|
|
LIBDIR = ../libs/lib
|
|
LDFLAGS =
|
|
LIBS = -lpspsystemctrl_user
|
|
|
|
EXTRA_TARGETS = EBOOT.PBP
|
|
PSP_EBOOT_TITLE = CM File Manager PSP v$(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_MICRO)
|
|
PSP_EBOOT_ICON = ../ICON0.PNG
|
|
|
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
include $(PSPSDK)/lib/build.mak
|
|
|
|
%.o: %.png
|
|
bin2o -i $< $@ $(addsuffix _png, $(basename $(notdir $<) ))
|
|
|
|
%.o: %.pgf
|
|
bin2o -i $< $@ $(addsuffix _pgf, $(basename $(notdir $<) ))
|