This commit is contained in:
2025-12-13 21:40:13 +01:00
parent 93c3d54483
commit 33608287aa
59 changed files with 1226 additions and 37 deletions

18
ora7/proj3/Makefile Normal file
View File

@@ -0,0 +1,18 @@
CXX = g++
CXXFLAGS = -Wall -O2 `pkg-config --cflags opencv4`
LIBS = `pkg-config --libs opencv4`
SRC = $(wildcard *.cpp)
OBJ = $(SRC:.cpp=.o)
TARGET = main
all: $(TARGET)
$(TARGET): $(OBJ)
$(CXX) $(OBJ) -o $@ $(LIBS)
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c $< -o $@
clean:
rm -f $(OBJ) $(TARGET)