You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
393 B
13 lines
393 B
# Minimal build for yolo_example (needs Darknet V3+ installed: libdarknet.so + darknet.h/darknet.hpp, and OpenCV 4)
|
|
CXX ?= g++
|
|
CXXFLAGS ?= -O2 -Wall -Wextra
|
|
CXXFLAGS += -std=c++17 $(shell pkg-config --cflags opencv4)
|
|
LDLIBS += -ldarknet $(shell pkg-config --libs opencv4)
|
|
|
|
yolo_example: yolo_example.cpp
|
|
$(CXX) $(CXXFLAGS) -o $@ $< $(LDLIBS)
|
|
|
|
clean:
|
|
rm -f yolo_example
|
|
|
|
.PHONY: clean
|