Skip to content
Snippets Groups Projects
Commit 46d7ba67 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Use suggest-override to compilation of polymorphism exercise

parent 1aec1837
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,10 @@ clean:
rm -f *o *so trypoly *~ trypoly.sol
libpoly.so: Polygons.cpp Polygons.hpp
$(CXX) -g -Wall -Wextra -shared -fPIC -o $@ $<
$(CXX) -Wsuggest-override -g -Wall -Wextra -shared -fPIC -o $@ $<
trypoly : trypoly.cpp libpoly.so
$(CXX) -g -Wall -Wextra -o $@ $^
$(CXX) -Wsuggest-override -g -Wall -Wextra -o $@ $^
trypoly.sol : solution/trypoly.sol.cpp libpoly.so
$(CXX) -g -Wall -Wextra -I. -o $@ $^
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment