Dodgy Makefile?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
pspwill
Posts: 51
Joined: Thu Nov 17, 2005 8:07 am

Dodgy Makefile?

Post by pspwill »

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: Select all

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?
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

I don't quite understand what you mean about your output files?
Shoot Pixels Not People!
Makeshift Development
pspwill
Posts: 51
Joined: Thu Nov 17, 2005 8:07 am

Post by pspwill »

got it fixed now so this can be locked.
Post Reply