From 633a5f208350c7b9ad0974d31add2dc17acbe16a Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 2 Aug 2018 22:27:41 +0200 Subject: Initial --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d8f92b8 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +CXX = g++ +CXXFLAGS = -Wall -Wextra -std=c++11 -O2 -g -fwrapv +LDFLAGS = -llept -ltesseract + +.PHONY: all clean + +all: shot + +clean: + rm -f shot *.o + + +shot: $(patsubst %.cpp,%.o,$(wildcard *.cpp)) + $(CXX) -o $@ $^ $(LDFLAGS) + +%.o: %.cpp $(wildcard *.h) + $(CXX) $(CXXFLAGS) -c -o $@ $< -- cgit v1.2.3-70-g09d2