Problems with PSPSDK's makefile. A custom one fixed everthing.
Moral: this makefile works when using Dev-C++:
Code: Select all
TARGET = hello
OBJS = main.c
INCDIR =
CFLAGS = -O2 -G0 -Wall -I"C:\Program Files\PSPDev\include"
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = HALLO!
PSP_EBOOT_ICON = ICON0.PNG
PSPSDK= C:/Progra~1/PSPDev/psp/sdk
include $(PSPSDK)/lib/build.mak
http://forums.ps2dev.org/viewtopic.php? ... t=makefile
Why Dev-C++ has problems with .elf targets? No one knows.