summaryrefslogtreecommitdiff
path: root/Makefile
blob: d2c3d303d43c128be0192f3a75541d6756e6a75a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)