diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-10-03 13:57:52 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-10-03 13:57:52 +0200 |
commit | d753b9c456a95a95c0faf674d9217ef1a7293182 (patch) | |
tree | e82d37dcb60fe45c76527bb7e1575bf55ad3a602 /Makefile |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
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) |