From e169d7aa8585ebb5f4fab3eccc8df92a43add4f5 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 21 Jan 2017 17:17:55 +1300 Subject: Add licence --- LICENCE | 26 ++++++++++++++++++++++++++ Makefile | 2 +- config.mk | 1 + trampoline.c | 2 +- 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 LICENCE diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..037d9ff --- /dev/null +++ b/LICENCE @@ -0,0 +1,26 @@ +/* + * fractal-gen-opencl - Generate iteration-based fractals in PNM format + * Copyright (c) 2017 David Phillips + * All rights reserved + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ diff --git a/Makefile b/Makefile index 15e8ca2..1dd24f6 100644 --- a/Makefile +++ b/Makefile @@ -6,4 +6,4 @@ fractal-gen: fractal-gen.o trampoline.o slurp.o .PHONY: clean clean: - rm -f {trampoline,slurp,fractal-gen}.o + rm -f {trampoline,slurp,fractal-gen}.o fractal-gen diff --git a/config.mk b/config.mk index 9665fd9..2c4b751 100644 --- a/config.mk +++ b/config.mk @@ -1 +1,2 @@ +CFLAGS += -I/usr/include/CL/ LDFLAGS += -lOpenCL diff --git a/trampoline.c b/trampoline.c index b57311b..f658d11 100644 --- a/trampoline.c +++ b/trampoline.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include "slurp.h" -- cgit v1.1