91052dd96def24dafc9cf1aff9aa44b2bb28a559
[challenge-bot] / bbb / opencv-hello-world / makefile
1 # Copyright (C) 2016 Daniel Watson
2 # See the end of the file for license conditions.
3 # GNU AGPLv3 (or later at your option)
4 # https://challenge-bot.com/
5
6 CFLAGS = `pkg-config --cflags opencv`
7 LIBS = `pkg-config --libs opencv`
8
9 % : %.cpp
10 g++ $(CFLAGS) $(LIBS) -o $@ $<
11
12 all: opencv-hello-world
13 ./opencv-hello-world
14
15 # This file is part of challenge-bot.
16
17 # Challenge-bot is free software: you can redistribute it and/or modify
18 # it under the terms of the GNU Affero General Public License as published by
19 # the Free Software Foundation, either version 3 of the License, or
20 # (at your option) any later version.
21
22 # GNU Affero Emacs is distributed in the hope that it will be useful,
23 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 # GNU Affero General Public License for more details.
26
27 # You should have received a copy of the GNU Affero General Public License
28 # along with challenge-bot. If not, see <http://www.gnu.org/licenses/>.