#CC=g++-4.2 # #chess.out: functions.o # g++ chess.o functions.o -std=c++11 # #chess.o: chess.cpp # g++ -c -std=c++11 chess.cpp # #functions.o: functions.cpp functions.h # g++ -c -std=c++11 functions.cpp # default: build build: g++ -O2 -o chess.out functions.cpp chess.cpp -std=c++11