Download samples/cpp/example_cmake/Makefile from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/tgollogly/test/resolve/main/samples/cpp/example_cmake/Makefile
- Command line
-
hf download hf://tgollogly/test/samples/cpp/example_cmake/Makefile
-
curl -L -o Makefile https://huggingface.co/tgollogly/test/resolve/main/samples/cpp/example_cmake/Makefile
281 Bytes
| CXX ?= g++ | |
| CXXFLAGS += -c -Wall $(shell pkg-config --cflags opencv) | |
| LDFLAGS += $(shell pkg-config --libs --static opencv) | |
| all: opencv_example | |
| opencv_example: example.o; $(CXX) $< -o $@ $(LDFLAGS) | |
| %.o: %.cpp; $(CXX) $< -o $@ $(CXXFLAGS) | |
| clean: ; rm -f example.o opencv_example | |