Skip to content
Snippets Groups Projects
Commit e52f1b4b authored by Martin Mareš's avatar Martin Mareš
Browse files

Successor: Fixed Makefile to enable --std=gnu++11 explicitly

Older versions of GCC (like the one in Debian Jessie) default
to older standards of the language.
parent 2e80d840
No related branches found
No related tags found
No related merge requests found
test: tree_successor_test test: tree_successor_test
./$< ./$<
CXXFLAGS=-O2 -Wall -Wextra -g -Wno-sign-compare CXXFLAGS=-std=gnu++11 -O2 -Wall -Wextra -g -Wno-sign-compare
tree_successor_test: tree_successor.h tree_successor_test.cpp test_main.cpp tree_successor_test: tree_successor.h tree_successor_test.cpp test_main.cpp
$(CXX) $(CXXFLAGS) $^ -o $@ $(CXX) $(CXXFLAGS) $^ -o $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment