Files
RkApp/VideoProsessing/src/makefile

11 lines
266 B
Makefile
Raw Normal View History

2025-11-07 15:04:34 +08:00
all: video
PKG_CFLAGS := $(shell pkg-config --cflags opencv4)
PKG_LIBS := $(shell pkg-config --libs opencv4)
video: main.cpp
g++ -g -o video main.cpp $(PKG_CFLAGS) $(PKG_LIBS) -lpaho-mqttpp3 -lpaho-mqtt3a -lpthread
mv video ../bin/
clean:
rm -rf ../bin/video