From aa5996d58e68edfbefe51061856aecd549dd09c4 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Tue, 13 Jan 2015 01:27:08 +0000 Subject: [PATCH] Faster --- Makefile | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c2eecd5..3bf04a3 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,8 @@ endif UNAME = $(shell uname) -OPTS=-Ofast -flto -#OPTS=-O3 +#OPTS=-Ofast -flto +OPTS=-O3 -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) @@ -28,7 +28,7 @@ endif CFLAGS= $(COMMON) $(OPTS) #CFLAGS= $(COMMON) -O0 -g -LDFLAGS+=`pkg-config --libs opencv` -lm +LDFLAGS+=`pkg-config --libs opencv` -lm -pthread VPATH=./src/ EXEC=cnn OBJDIR=./obj/ -- Gitblit v1.10.0