| View previous topic :: View next topic |
| Author |
Message |
maxhoov
Joined: 12 Jul 2005 Posts: 5
|
Posted: Tue Jul 12, 2005 11:41 am Post subject: One error during make(include?) |
|
|
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: |
//filename:start.bat
set path=%path%;X:\PSPDev\bin
set PSPSDK=X:\PSPDev\psp\sdk
cmd X:\PSPDev\psp\sdk\samples\sdktest
|
| Code: |
//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 |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Tue Jul 12, 2005 12:14 pm Post subject: |
|
|
I'm guessing the error is in line 15 of the included file... ie:
| Code: | | $(error $$(PSPSDK) is undefined. Use "PSPSDK := $$(shell psp-config --pspsdk-path)" in your Makefile) |
|
|
| Back to top |
|
 |
maxhoov
Joined: 12 Jul 2005 Posts: 5
|
Posted: Tue Jul 12, 2005 12:41 pm Post subject: |
|
|
>>>rinco
I've tried,and matters remain just as they were.
Thx for your help!
/maxhoov |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Tue Jul 12, 2005 2:10 pm Post subject: |
|
|
| GNU Make is required. |
|
| Back to top |
|
 |
maxhoov
Joined: 12 Jul 2005 Posts: 5
|
Posted: Tue Jul 12, 2005 3:07 pm Post subject: |
|
|
>>>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 |
|
| Back to top |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
|
| Back to top |
|
 |
maxhoov
Joined: 12 Jul 2005 Posts: 5
|
Posted: Tue Jul 12, 2005 4:02 pm Post subject: |
|
|
>>>agoln
Thx!:)
/maxhoov |
|
| Back to top |
|
 |
|