From 7643e75dffcd6cf8ce49783f4a7c773583496548 Mon Sep 17 00:00:00 2001 From: Marc barbier <43183491+Marc-Pierre-Barbier@users.noreply.github.com> Date: Tue, 17 Aug 2021 12:38:17 +0200 Subject: [PATCH] Update makefile --- makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 58eca0c..cfed953 100644 --- a/makefile +++ b/makefile @@ -1,9 +1,9 @@ LIBS = COMPILER = g++ WINDOWS_COMPILE = x86_64-w64-mingw32-g++ -WINDOWS_LD_FLAG = -Wall -Wextra --static $(shell x86_64-w64-mingw32-pkg-config --static --libs $(LIBS)) -COMPILE_FLAG = -c -LD_FLAG = -Wall -Wextra $(shell pkg-config --static --libs $(LIBS)) +WINDOWS_LD_FLAG = -static $(shell x86_64-w64-mingw32-pkg-config --static --libs $(LIBS)) +COMPILE_FLAG = -Wall -Wextra -c +LD_FLAG = $(shell pkg-config --static --libs $(LIBS)) OBJDIR=./objs/ SRC=./src/ SRCS=$(shell ls src/* | grep "\.c")