This commit is contained in:
2025-11-07 15:04:34 +08:00
parent efc6a92059
commit 09b6cab3cf
6 changed files with 122 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
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