forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PSPSDK with Dev-C++

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Heran_Bago



Joined: 17 Sep 2005
Posts: 7

PostPosted: Fri Sep 30, 2005 12:04 pm    Post subject: PSPSDK with Dev-C++ Reply with quote

near final edit:
Problems with PSPSDK's makefile. A custom one fixed everthing.

Moral: this makefile works when using Dev-C++:
Code:
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


However, this may cause problems with .elf files, as seen in this topic:
http://forums.ps2dev.org/viewtopic.php?t=2494&highlight=makefile

Why Dev-C++ has problems with .elf targets? No one knows.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group