Changed the Makefile to reference the C++ compiler, rather than the C compiler
This commit is contained in:
1 parent
7133c112ca
commit
856caa1f0a
1 file changed
+3
-3
@@ -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
|
||||||
Reference in new issue
Block a user