summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-06-23 21:48:42 +0200
committerkdx <kikoodx@paranoici.org>2023-06-23 21:48:42 +0200
commit1034fe89be2b45e36cdd0b52ca3a9a34138e4780 (patch)
treebf9fa9a41af0325073b42830da97f21033603abc
parent58b8b26d08a0f4eb35611023b2f8fa5fcfdc94df (diff)
downloadhmle-1034fe89be2b45e36cdd0b52ca3a9a34138e4780.tar.gz
compile with zig
-rw-r--r--Tupfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tupfile b/Tupfile
index 557c70d..2d4425b 100644
--- a/Tupfile
+++ b/Tupfile
@@ -1,5 +1,5 @@
-CC = gcc
-LD = $(CC) -fuse-ld=mold
+CC = zig cc
+LD = $(CC)
SFLAGS = -Wall -Wextra
CFLAGS = -std=c2x $(SFLAGS) -Isrc
LIBS = -lm -lSDL2 -lSDL2_image