commit 1bf6a3629ff7dbf706441e4242ec2cd3e1e1a9c3
parent b234ed5039dfd96005138828ece341da3638d216
Author: Sophie <info@soophie.de>
Date: Tue, 13 May 2025 13:25:49 +0000
feat: Made POSIX executable also statically linked
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -3,11 +3,11 @@ SOURCE := $(wildcard src/*.c)
POSIX_CC = cc
POSIX_CFLAGS = -Wall -Wextra -Werror -pedantic
-POSIX_LIBS = -lm
+POSIX_LIBS = -static
WINDOWS_CC = x86_64-w64-mingw32-gcc
WINDOWS_CFLAGS = -Wall -Wextra -Werror -pedantic
-WINDOWS_LIBS = -static -lm -I/usr/local/include/
+WINDOWS_LIBS = -static -I/usr/local/include/
.PHONY: all build-posix build-windows clean