Discuss the development of new homebrew software, tools and libraries.
Moderators: cheriff , TyRaNiD
maxhoov
Posts: 5 Joined: Tue Jul 12, 2005 11:32 am
Post
by maxhoov » Tue Jul 12, 2005 11:41 am
I run start.bat,and navigate to target-path(X:\PSPDev\psp\sdk\samples\sdktest).
type make,and I get an error:
MAKE Version 5.2 (...)
Error makefile 15: Command syntax error
*** 1 errors during make ***
I don't know what's wrong with it.So I want someone help me.
Thx for your help!
Code: Select all
//filename:start.bat
set path=%path%;X:\PSPDev\bin
set PSPSDK=X:\PSPDev\psp\sdk
cmd X:\PSPDev\psp\sdk\samples\sdktest
Code: Select all
//filename:makefile
01 TARGET = sdktest
02 OBJS = main.o
03
04 INCDIR =
05 CFLAGS = -O2 -G0 -Wall
06 CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
07 ASFLAGS = $(CFLAGS)
08
09 LIBDIR =
10 LDFLAGS =
11
12 EXTRA_TARGETS = EBOOT.PBP
13 PSP_EBOOT_TITLE = SDK Test v1.0
14
15 include $(PSPSDK)/lib/build.mak
/maxhoov
rinco
Posts: 255 Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia
Post
by rinco » Tue Jul 12, 2005 12:14 pm
I'm guessing the error is in line 15 of the included file... ie:
Code: Select all
$(error $$(PSPSDK) is undefined. Use "PSPSDK := $$(shell psp-config --pspsdk-path)" in your Makefile)
maxhoov
Posts: 5 Joined: Tue Jul 12, 2005 11:32 am
Post
by maxhoov » Tue Jul 12, 2005 12:41 pm
>>>rinco
I've tried,and matters remain just as they were.
Thx for your help!
/maxhoov
mrbrown
Site Admin
Posts: 1537 Joined: Sat Jan 17, 2004 11:24 am
Post
by mrbrown » Tue Jul 12, 2005 2:10 pm
GNU Make is required.
maxhoov
Posts: 5 Joined: Tue Jul 12, 2005 11:32 am
Post
by maxhoov » Tue Jul 12, 2005 3:07 pm
>>>mrbrown
U're right!
I think it's the root of the problem.
Thank u very much!
Would u give me a link to get GNU make(for win32)?
Thank u very very very much!!!:-)
/maxhoov
Agoln
Posts: 326 Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN
Post
by Agoln » Tue Jul 12, 2005 3:41 pm
Lego of my Ago!
maxhoov
Posts: 5 Joined: Tue Jul 12, 2005 11:32 am
Post
by maxhoov » Tue Jul 12, 2005 4:02 pm
>>>agoln
Thx!:)
/maxhoov