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.
opencv/opencv-samples-Makefile

11 lines
298 B

CFLAGS := `pkg-config --cflags opencv` $(CFLAGS)
CXXFLAGS := `pkg-config --cflags opencv` $(CXXFLAGS)
LDFLAGS := `pkg-config --libs opencv` $(LDFLAGS)
PROGRAMS := $(patsubst %.c,%,$(wildcard *.c)) $(patsubst %.cpp,%,$(wildcard *.cpp))
.PHONY: all clean
all: $(PROGRAMS)
clean:
rm -f $(PROGRAMS)