From 127b26e3254662731c911a6efe57ba49293a04ce Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Tue, 19 Nov 2024 04:11:23 +0100 Subject: Remove fonts --- saw.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'saw.c') 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 -- cgit v1.2.3