added static libs to makefile

This commit is contained in:
Lucas Palomo Develop 2023-07-17 20:35:25 +02:00 committed by GitHub
parent 747bdf4aba
commit 5043786513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
CC = g++ CC = g++
CFLAGS = -std=c++17 -Wall CFLAGS = -std=c++17 -Wall -static -static-libgcc -static-libstdc++
SRCDIR = ./src SRCDIR = ./src
BINDIR = ./bin BINDIR = ./bin
@ -8,4 +8,4 @@ $(BINDIR)/autom: $(SRCDIR)/main.cpp $(SRCDIR)/command.cpp $(SRCDIR)/inputparser.
.PHONY: clean .PHONY: clean
clean: clean:
rm -f $(BINDIR)/autom rm -f $(BINDIR)/autom