diff options
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) |