From d753b9c456a95a95c0faf674d9217ef1a7293182 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 3 Oct 2013 13:57:52 +0200 Subject: Initial commit --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d2c3d30 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +P = logpolar + +CXXFLAGS += $(shell pkg-config --cflags opencv) +LDFLAGS += $(shell pkg-config --libs opencv) + +all: $(P) + +$(P): $(P).o + $(CXX) -o $@ $^ $(LDFLAGS) + +%.o: %.cpp + $(CXX) $(CXXFLAGS) -c $< -o $@ + +clean: + -rm -f *.o $(P) -- cgit v1.2.3-54-g00ecf