i ahve my main.h and makefile(.cpp) in my directory together and such, but when i click make when im in the directory, it passes right thro the main.h because its non error existant, but when it goes to the makefile, it says error on the 1st line, anyhelp would be appreciated heres the error i get
Code: Select all
1 C:\cygwin\home\~~~~\projects\helloworld\makefile.cpp expected `,' or `;' before '=' token
Code: Select all
1 C:\cygwin\home\~~~~~\projects\helloworld\makefile.cpp expected constructor, destructor, or type conversion before '=' token
Code: Select all
TARGET = hello
OBJS = main.o
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Jordans Program
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak