From 57ce8d4e83012deef471e1d66e1391b79b1d7815 Mon Sep 17 00:00:00 2001
From: arq5x <arq5x@virginia.edu>
Date: Thu, 17 Apr 2014 13:11:10 -0400
Subject: [PATCH] allow command line includes for make

---
 Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index eb2f97ae..bbbc4379 100644
--- a/Makefile
+++ b/Makefile
@@ -19,12 +19,11 @@ export CXX		= g++
 #ifeq ($(DEBUG),1)
 #export CXXFLAGS = -Wall -O0 -g -fno-inline -fkeep-inline-functions -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG -D_DEBUG
 #else
-export CXXFLAGS = -Wall -O2 -D_FILE_OFFSET_BITS=64 -fPIC
+export CXXFLAGS = -Wall -O2 -D_FILE_OFFSET_BITS=64 -fPIC $(INCLUDE)
 #endif
 export LIBS		= -lz
 export BT_ROOT  = src/utils/BamTools/
 
-
 SUBDIRS = $(SRC_DIR)/annotateBed \
 		  $(SRC_DIR)/bamToBed \
 		  $(SRC_DIR)/bamToFastq \
-- 
GitLab