diff options
author | David Phillips <david@sighup.nz> | 2017-01-21 17:17:55 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-01-21 17:17:55 +1300 |
commit | e169d7aa8585ebb5f4fab3eccc8df92a43add4f5 (patch) | |
tree | fa137e60f58ea430e12d59f343a3b02382ee437b | |
parent | 4c6a8c482f54b2e4129acb8940170d9ca37b58d1 (diff) | |
download | fractal-gen-opencl-e169d7aa8585ebb5f4fab3eccc8df92a43add4f5.tar.xz |
Add licence
-rw-r--r-- | LICENCE | 26 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | config.mk | 1 | ||||
-rw-r--r-- | trampoline.c | 2 |
4 files changed, 29 insertions, 2 deletions
@@ -0,0 +1,26 @@ +/* + * fractal-gen-opencl - Generate iteration-based fractals in PNM format + * Copyright (c) 2017 David Phillips <dbphillipsnz@gmail.com> + * 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. + */ @@ -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 @@ -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 <stdio.h> #include <string.h> -#include <CL/opencl.h> +#include <opencl.h> #include "slurp.h" |