Changed the Makefile to reference the C++ compiler, rather than the C compiler

This commit is contained in:
2026-09-08 00:36:14 +03:00
parent 7133c112ca
commit 856caa1f0a
+3 -3
View File
@@ -1,8 +1,8 @@
all: all:
cc *.cpp -O3 -Wall -Wextra -std=c++17 -o lottery cxx *.cpp -O3 -Wall -Wextra -std=c++17 -o lottery
compile: compile:
cc *.cpp -O3 -c cxx *.cpp -O3 -c
debug: debug:
cc *.cpp -g -std=c++17 -o calculator -lstdc++ -lm cxx *.cpp -g -std=c++17 -o calculator -lstdc++ -lm