diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | balls.c | 2 | ||||
| -rw-r--r-- | config.h | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -14,4 +14,4 @@ balls: ${OBJ} clean: rm -f *.o balls -${OBJ}: sysfatal.h balls.h +${OBJ}: sysfatal.h balls.h config.h @@ -1,4 +1,4 @@ -#define CL_TARGET_OPENCL_VERSION 110 +#include "config.h" #include <stdlib.h> #include <stdio.h> 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 |