From d4ee486919e15ffd133752551877ff96da4042f9 Mon Sep 17 00:00:00 2001 From: Pablu23 <43807157+Pablu23@users.noreply.github.com> Date: Sat, 30 Nov 2024 19:56:26 +0100 Subject: [PATCH] Use CC in makefile instead of g++ directly --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b2a69e3..5ad697d 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ $(NAME): ofiles ar rcs $(NAME) $(OFILES) ofiles: - g++ $(CFLAGS) -std=c++20 -g -O0 -c $(CFILES) + $(CC) $(CFLAGS) -std=c++20 -g -O0 -c $(CFILES) clean: rm -f $(OFILES) @@ -23,7 +23,7 @@ fclean: re: fclean $(NAME) build: all - g++ -std=c++20 -o server main.cpp -L. -lhttpablu + $(CC) -std=c++20 -o server main.cpp -L. -lhttpablu run: build ./server