diff options
Diffstat (limited to 'saw.c')
-rwxr-xr-x | saw.c | 17 |
1 files changed, 6 insertions, 11 deletions
@@ -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 |