From d9f6eb2c043da7b2fbe389e930349a88bf49c167 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Mon, 31 Aug 2026 08:49:40 +0000 Subject: static --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 8c3be66..66092f8 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,9 @@ TARGET = $(BUILD)/ccshell CPPFLAGS = -I$(INCLUDE_DIR) -MMD -MP CXXFLAGS = -std=c++23 -Wall -Wextra -O2 +# static +LDFLAGS += -static -static-libgcc -static-libstdc++ + SRCS = $(shell find $(SRC_DIR) -name '*.cc') OBJS = $(SRCS:%=$(BUILD)/%.o) DEPS = $(OBJS:.o=.d) -- cgit v1.3.1-4-g156e