| View previous topic :: View next topic |
| Author |
Message |
Pihas
Joined: 25 Oct 2008 Posts: 60 Location: Lithuania
|
Posted: Thu Jul 16, 2009 6:24 am Post subject: [Solved] minpspw and psptoolchain make files conversation |
|
|
minpspw make file:
| Code: | TARGET = PSP_2D_TANK
OBJS = main.o
INCDIR =
CFLAGS = -G4 -Wall -O2
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
STDLIBS= -losl -lpng -lz \
-lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsppower -lpspgu -lpspaudiolib -lpspaudio -lm
LIBS=$(STDLIBS)$(YOURLIBS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = PSP 2D TANK 0.1
PSP_EBOOT_ICON = EBOOT_DATA/ICON0.PNG
PSP_EBOOT_ICON1 =
PSP_EBOOT_UNKPNG =
PSP_EBOOT_PIC1 = EBOOT_DATA/PIC1.PNG
PSP_EBOOT_SND0 =
PSP_EBOOT_PSAR =
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak |
and in psptoolchain there are 3 make files Makefile, Makefile.am, Makefile.in. My questions is how to convert my old one minpspw makefile to suportable for psptoolchain
Error:
pihas@pihas-netbook:~/psp2dtanks$ make
make: psp-config: Command not found
Makefile:26: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'. Stop.
pihas@pihas-netbook:~/psp2dtanks$ _________________
Cooming Soon
Last edited by Pihas on Thu Jul 16, 2009 8:43 pm; edited 1 time in total |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Thu Jul 16, 2009 10:15 am Post subject: |
|
|
Use the sample found in /usr/local/pspdev/psp/sdk/samples/templates/prx_template.
Its pasted below for your convenience
| Code: |
TARGET = template
OBJS = main.o
BUILD_PRX=1
INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
|
Make sure your toolchain exists or the paths are defined as per the instructions for your OS. |
|
| Back to top |
|
 |
Pihas
Joined: 25 Oct 2008 Posts: 60 Location: Lithuania
|
Posted: Thu Jul 16, 2009 8:43 pm Post subject: |
|
|
Yes, my problems was with bashrc, thank you Wally _________________
Cooming Soon |
|
| Back to top |
|
 |
|