summaryrefslogtreecommitdiff
path: root/saw.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-11-19 04:11:23 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-11-19 04:11:23 +0100
commit127b26e3254662731c911a6efe57ba49293a04ce (patch)
treee237663c3688f880f9e38956fb6532f3129e7cc7 /saw.c
parentd5a727a062e4d727491f4e7f047269d60a93a8cf (diff)
downloadsaw-127b26e3254662731c911a6efe57ba49293a04ce.zip
Remove fonts
Diffstat (limited to 'saw.c')
-rwxr-xr-xsaw.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/saw.c b/saw.c
index 0a033ed..0a7c1f5 100755
--- a/saw.c
+++ b/saw.c
@@ -258,7 +258,7 @@ exit $? # */
#if !CODEGEN && \
!EXE && \
!TESTS
-#define BUILDME 1
+#define EXE 1
#endif
#define _GNU_SOURCE
// ================================================================
@@ -4224,25 +4224,20 @@ sapp_desc sokol_main(i32 argc, c8 **argv) {
};
}
+#endif // EXE
+
// ================================================================
//
// TESTS
//
// ================================================================
-#elif TESTS
-
-#include "kit/types.h"
+#if TESTS
-#define KIT_TEST_IMPLEMENTATION
-#include "kit/test.h"
+#include "test.c"
i32 main(i32 argc, char **argv) {
return run_tests(argc, argv);
}
-// ================================================================
-
-#else
-#error Build options not provided. Try: gcc -DBUILDME=1 saw.c
-#endif
+#endif // TESTS