diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:32:47 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:32:47 -0400 |
| commit | 354e155867dcb6c0d574bb5de47e5903cb67b99d (patch) | |
| tree | 0874a1428ad6bd59f08e840b10fe9898cd240855 | |
| parent | ceb086b7b54fda6ea724b92f18060536d7bc08d3 (diff) | |
| download | balls-354e155867dcb6c0d574bb5de47e5903cb67b99d.zip | |
config.h
| -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 |