summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8785d3765843debc65932b8c7a5bf7e42bb658a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS = -lpthread -lstdc++
CFLAGS += `pkg-config --libs opencv`
CFLAGS += -I/Users/pks/.local/include

crop: crop.cc
	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
	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