problem with my make file

hi all
this is my makefile


SDK_ROOT = /home/bibrak/NVIDIA_GPU_Computing_SDK
CUDA_LIB_PATH = /usr/local/cuda/lib

INLCUDE = -I$(SDK_ROOT)/C/common/inc -I/usr/local/cuda/include

LIBS = -L$(SDK_ROOT)/lib -lcutil
LIBS += -L$(CUDA_LIB_PATH) -lcudart -lcuda

SRC_CU = test.cu

SRC_CXX =

all:
nvcc -run (INLCUDE) (LIBS) (SRC_CU) (SRC_CXX)


when i run the simple template example it has problems

bibrak@bibrak-laptop:~/NVIDIA_GPU_Computing_SDK/C/src/starter$ make
Makefile:14: *** missing separator. Stop.

any solution

thanks

?

[codebox]

SDK_ROOT = /home/bibrak/NVIDIA_GPU_Computing_SDK

CUDA_LIB_PATH = /usr/local/cuda/lib

INCLUDE = -I$(SDK_ROOT)/C/common/inc -I/usr/local/cuda/include

LIBS = -L$(SDK_ROOT)/C/lib -lcutil

LIBS += -L$(CUDA_LIB_PATH) -lcudart -lcuda

SRC_CU = test.cu

SRC_CXX =

all:

/usr/local/cuda/bin/nvcc -o test $(INCLUDE) $(LIBS) $(SRC_CU) $(SRC_CXX)

[/codebox]

IMHO, you’ll be better off using the common makefile in the SDK.

Try out the template project in NVIDIA_GPU_Computing_SDK/C/src/template

N.

Lines with commands in make files have to start with tab char, this is your problem (at least first one).

On a side note: people, please do learn to use code tag when composing messages. Chances are much smaller someone will look into your messages if your just paste your code in.

thanks the tab worked

Oops, looks like I forgot to mention that I updated your makefile in my previous post :)

N.