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 

Dodgy Makefile?

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



Joined: 17 Nov 2005
Posts: 51

PostPosted: Tue Jul 04, 2006 5:09 am    Post subject: Dodgy Makefile? Reply with quote

when i compile my mp3 player test it compliles it twice for some reason into a 'mp3' file and a '.elf' file

here is my makefile
Code:
TARGET = mp3
OBJS = mp3player.o main.o
CFLAGS = -O2 -G0 -Wall

CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBSDIR =
LIBS = -lmad -lpspctrl -lpspaudiolib -lpspaudio -lpsppower -lz -lm
LDFLAGS =

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = MP3 Player Example

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak


any ideas?
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Tue Jul 04, 2006 6:34 am    Post subject: Reply with quote

I don't quite understand what you mean about your output files?
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
pspwill



Joined: 17 Nov 2005
Posts: 51

PostPosted: Tue Jul 04, 2006 6:35 am    Post subject: Reply with quote

got it fixed now so this can be locked.
Back to top
View user's profile Send private message
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