From edbccdfcaf46f11e631afe98796f3e6e170da5d0 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Sun, 26 Oct 2014 05:04:34 +0000 Subject: [PATCH] Maybe something changed? --- Makefile | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c4abedd..29dccbb 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,12 @@ CC=gcc -GPU=0 -COMMON=-Wall -Wfatal-errors `pkg-config --cflags opencv` -I/usr/local/cuda/include/ +GPU=1 +COMMON=-Wall -Wfatal-errors `pkg-config --cflags opencv` -I/usr/local/cuda/include/ -I/usr/local/clblas/include/ ifeq ($(GPU), 1) COMMON+=-DGPU else endif UNAME = $(shell uname) OPTS=-Ofast -flto -OPTS=-Ofast -flto ifeq ($(UNAME), Darwin) COMMON+= -isystem /usr/local/Cellar/opencv/2.4.6.1/include/opencv -isystem /usr/local/Cellar/opencv/2.4.6.1/include ifeq ($(GPU), 1) @@ -16,7 +15,7 @@ else OPTS+= -march=native ifeq ($(GPU), 1) -LDFLAGS= -lOpenCL +LDFLAGS= -lOpenCL -lclBLAS endif endif CFLAGS= $(COMMON) $(OPTS) -- Gitblit v1.10.0