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

all: crop denoise merge straighten unsharp-mask

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

clean:
	rm -f crop denoise merge straighten unsharp-mask