summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--balls.c2
-rw-r--r--config.h2
3 files changed, 4 insertions, 2 deletions
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 <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