summaryrefslogtreecommitdiff
path: root/devel/msp430-debug-stack/files/patch-ThirdParty_BSL430__DLL_Makefile
blob: 310d63b7f8c545846e7cf048d11360aca629bd1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ThirdParty/BSL430_DLL/Makefile.orig	2015-04-22 12:01:02 UTC
+++ ThirdParty/BSL430_DLL/Makefile
@@ -47,11 +47,15 @@ ifeq ($(PLATFORM),Linux)
 	INCLUDES += -I$(BOOST_DIR)
 	endif
 else
-	CXX:= clang++
+#	CXX:= clang++
 
 	ifdef BOOST_DIR
 	INCLUDES += -I$(BOOST_DIR)/include
 	endif
+	ifdef HIDAPI_DIR
+	INCLUDES += -I$(HIDAPI_DIR)/include/hidapi
+	LIBDIRS += -L$(HIDAPI_DIR)/lib
+	endif
 endif
 
 all: $(OBJS)