summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile11
2 files changed, 10 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index dd5a379..3d9c9f4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@ crop
denoise
merge
straighten
+unsharp-mask
test/
diff --git a/Makefile b/Makefile
index e5b40b8..8785d37 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,19 @@
CFLAGS = -lpthread -lstdc++
CFLAGS += `pkg-config --libs opencv`
+CFLAGS += -I/Users/pks/.local/include
crop: crop.cc
- g++ $(CFLAGS) crop.cc -o crop
+ clang $(CFLAGS) crop.cc -o crop
+
+denoise: denoise.cc cxxopts/src/cxxopts.hpp
+ clang -std=c++11 $(CFLAGS) denoise.cc -o denoise
merge: merge.cc cxxopts/src/cxxopts.hpp
g++ -std=c++11 $(CFLAGS) merge.cc -o merge
straighten: straighten.cc
- g++ $(CFLAGS) straighten.cc -o straighten
+ clang $(CFLAGS) straighten.cc -o straighten
+
+unsharp-mask: unsharp-mask.cc cxxopts/src/cxxopts.hpp
+ clang -std=c++11 $(CFLAGS) unsharp-mask.cc -o unsharp-mask