From 40cc1046395385dd256012810866eba34904f034 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 28 Sep 2015 21:32:28 +0000
Subject: [PATCH] idk

---
 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 40bfcec..22e89a1 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@
 NVCC=nvcc
 OPTS=-Ofast
 LDFLAGS= -lm -pthread -lstdc++ 
-COMMON= -I/usr/local/cuda/include/ 
+COMMON= 
 CFLAGS=-Wall -Wfatal-errors 
 
 ifeq ($(DEBUG), 1) 
@@ -29,7 +29,7 @@
 endif
 
 ifeq ($(GPU), 1) 
-COMMON+= -DGPU
+COMMON+= -DGPU -I/usr/local/cuda/include/
 CFLAGS+= -DGPU
 LDFLAGS+= -L/usr/local/cuda/lib64 -lcuda -lcudart -lcublas -lcurand
 endif

--
Gitblit v1.10.0