Browse Source

set compiler settings

Nicolas Winkler 8 years ago
parent
commit
1303708392
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/makefile

+ 3 - 3
src/makefile

@@ -1,16 +1,16 @@
 IDIR=       .
 CXX=        g++
-CFLAGS=     -O3 -flto
+CXXFLAGS=   -std=c++14 -O3 -flto
 LNFLAGS=    -flto
 DEPS=       Bitfield.h
 OBJ=        main.o UciParser.o
 
 
 %.o: %.c $(DEPS)
-	$(CXX) -c -o $@ $< $(CFLAGS)
+	$(CXX) -c -o $@ $< $(CXXFLAGS)
 
 chessy: $(OBJ)
-	$(CXX) -o $@ $^ $(CFLAGS)
+	$(CXX) -o $@ $^ $(LNFLAGS)
 
 .PHONY: clean