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/
6 CFLAGS = `pkg-config --cflags opencv`
7 LIBS = `pkg-config --libs opencv`
10 g++ $(CFLAGS) $(LIBS) -o $@ $<
12 all: opencv-hello-world
15 ./opencv-hello-world 1
19 ./opencv-hello-world 0
23 rm image.png image-grey.png
25 # This file is part of challenge-bot.
27 # Challenge-bot is free software: you can redistribute it and/or modify
28 # it under the terms of the GNU Affero General Public License as published by
29 # the Free Software Foundation, either version 3 of the License, or
30 # (at your option) any later version.
32 # GNU Affero Emacs is distributed in the hope that it will be useful,
33 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 # GNU Affero General Public License for more details.
37 # You should have received a copy of the GNU Affero General Public License
38 # along with challenge-bot. If not, see <http://www.gnu.org/licenses/>.