mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-28 18:55:40 +00:00
Multiple makefiles: autodetect SCST include directory
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
SCST_INC_DIR := $(shell d="$(dir $(lastword $(MAKEFILE_LIST)))"; \
|
||||
if [ -e "$$d../../scst" ]; \
|
||||
then echo "$$d../../scst/include"; \
|
||||
else echo "/usr/local/include/scst"; fi)
|
||||
EXTRA_CFLAGS += -I$(SCST_INC_DIR)
|
||||
|
||||
-include $(SUBDIRS)/../build_mode
|
||||
|
||||
Reference in New Issue
Block a user