srpt: converting makefile back to compile in scst tree
authorhuongvp <huongvp@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 11 Jul 2008 16:32:48 +0000 (16:32 +0000)
committerhuongvp <huongvp@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 11 Jul 2008 16:32:48 +0000 (16:32 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@457 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/Makefile
srpt/src/Makefile

index 8cd8722..edb71de 100644 (file)
@@ -7,8 +7,7 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile.
 
-#SCST_DIR := $(shell pwd)/../scst/src
-SCST_DIR := /usr/local/include/scst
+SCST_DIR := $(shell pwd)/../scst/src
 SUBDIRS := $(shell pwd)
 
 ifeq ($(KVER),)
index 3a8ce50..c8f0331 100644 (file)
@@ -1,4 +1,4 @@
-SCST_INC_DIR := /usr/local/include/scst
+SCST_INC_DIR := $(SUBDIRS)/../../scst/include/
 
 EXTRA_CFLAGS +=  -I$(SCST_INC_DIR)
 #EXTRA_CFLAGS += -DCONFIG_SCST_DEBUG -g