From 08b757a0bf76efe8c76b453063a1bb19315bcaa6 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Wed, 14 Jan 2015 20:18:57 +0000 Subject: [PATCH] Stable, needs to be way faster --- Makefile | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a76c532..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) @@ -27,7 +27,7 @@ endif endif CFLAGS= $(COMMON) $(OPTS) -CFLAGS= $(COMMON) -O0 -g +#CFLAGS= $(COMMON) -O0 -g LDFLAGS+=`pkg-config --libs opencv` -lm -pthread VPATH=./src/ EXEC=cnn -- Gitblit v1.10.0