mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
saving weight files as binaries, hell yeah
This commit is contained in:
6
Makefile
6
Makefile
@@ -12,13 +12,13 @@ OPTS=-O3
|
||||
LDFLAGS=`pkg-config --libs opencv` -lm -pthread
|
||||
COMMON=`pkg-config --cflags opencv` -I/usr/local/cuda/include/
|
||||
CFLAGS=-Wall -Wfatal-errors
|
||||
CFLAGS+=$(OPTS)
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
COMMON+=-O0 -g
|
||||
CFLAGS+=-O0 -g
|
||||
OPTS=-O0 -g
|
||||
endif
|
||||
|
||||
CFLAGS+=$(OPTS)
|
||||
|
||||
ifeq ($(GPU), 1)
|
||||
COMMON+=-DGPU
|
||||
CFLAGS+=-DGPU
|
||||
|
||||
Reference in New Issue
Block a user