aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEmil Williams2026-02-18 00:56:45 +0000
committerEmil Williams2026-02-18 01:02:35 +0000
commit2b39c39421648cdd65987934e5432d5a12d097b0 (patch)
tree136c7415cfe1cc268ffbd36f0f6a5ea60bcdfd4f /Makefile
parent42541df62871aaf403c0d62de1fdb44c862f2ea5 (diff)
downloadlibchad-2b39c39421648cdd65987934e5432d5a12d097b0.tar.xz
libchad-2b39c39421648cdd65987934e5432d5a12d097b0.tar.zst
should work without peru
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e6d9d5d..b07c89c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
+CFLAGS := -std=c23
SOURCE := $(wildcard chad/*.c extern/*.c)
so:
- ${CC} -fPIC -shared ${SOURCE} -o object/libchad.so
+ ${CC} ${CFLAGS} -fPIC -shared ${SOURCE} -o object/libchad.so
dist:
-mkdir object/chad/ 2> /dev/null