From 856caa1f0a4a5af2b3c083dca088a2fd07a1e796 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 8 Sep 2026 00:36:14 +0300 Subject: [PATCH] Changed the Makefile to reference the C++ compiler, rather than the C compiler --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6646460..117f267 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ all: - cc *.cpp -O3 -Wall -Wextra -std=c++17 -o lottery + cxx *.cpp -O3 -Wall -Wextra -std=c++17 -o lottery compile: - cc *.cpp -O3 -c + cxx *.cpp -O3 -c debug: - cc *.cpp -g -std=c++17 -o calculator -lstdc++ -lm + cxx *.cpp -g -std=c++17 -o calculator -lstdc++ -lm