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")