# Copyright (C) 2016 Daniel Watson # See the end of the file for license conditions. # GNU AGPLv3 (or later at your option) # https://challenge-bot.com/ CFLAGS = `pkg-config --cflags opencv` LIBS = `pkg-config --libs opencv` % : %.cpp g++ $(CFLAGS) $(LIBS) -o $@ $< all: opencv-hello-world 1: all ./opencv-hello-world 1 eog . 0: all ./opencv-hello-world 0 eog . clean: rm image.png image-grey.png # This file is part of challenge-bot. # Challenge-bot is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # GNU Affero Emacs is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # You should have received a copy of the GNU Affero General Public License # along with challenge-bot. If not, see .