From 354e155867dcb6c0d574bb5de47e5903cb67b99d Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 2 Nov 2024 18:32:47 -0400 Subject: config.h --- Makefile | 2 +- balls.c | 2 +- config.h | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 config.h diff --git a/Makefile b/Makefile index 49b04ef..c21376d 100644 --- a/Makefile +++ b/Makefile @@ -14,4 +14,4 @@ balls: ${OBJ} clean: rm -f *.o balls -${OBJ}: sysfatal.h balls.h +${OBJ}: sysfatal.h balls.h config.h diff --git a/balls.c b/balls.c index 763f07e..79d1681 100644 --- a/balls.c +++ b/balls.c @@ -1,4 +1,4 @@ -#define CL_TARGET_OPENCL_VERSION 110 +#include "config.h" #include #include diff --git a/config.h b/config.h new file mode 100644 index 0000000..295d69c --- /dev/null +++ b/config.h @@ -0,0 +1,2 @@ +/* #define WINDOWS 1 */ +#define CL_TARGET_OPENCL_VERSION 110 -- cgit v1.2.3