--- build/Makefile.release.gcc.orig 2012-02-06 14:04:02.000000000 +0100 +++ build/Makefile.release.gcc 2013-09-26 17:53:17.000000000 +0200 @@ -1,10 +1,10 @@ # Project: MeshDev # Makefile created by Michaël Roy -CXX = g++ -OBJ = tmp/Deviation.o tmp/FileVrml1.o tmp/FileVrml2.o tmp/Mesh.o tmp/MeshDev.o tmp/Neighborhood.o tmp/Sample.o tmp/UniformGrid.o +CXX ?= g++ +OBJ = tmp/Deviation.o tmp/FileVrml1.o tmp/FileVrml2.o tmp/FileSTL.o tmp/Mesh.o tmp/MeshDev.o tmp/Neighborhood.o tmp/Sample.o tmp/UniformGrid.o BIN = ../bin/meshdev -CFLAGS += -DNDEBUG -Wall -W -ansi -pedantic -s -O2 +CFLAGS += -DNDEBUG -Wall -W -pedantic --std=c++14 .PHONY: all clean @@ -25,6 +25,9 @@ tmp/FileVrml2.o: ../src/FileVrml2.cpp $(CXX) -c ../src/FileVrml2.cpp -o tmp/FileVrml2.o $(CFLAGS) +tmp/FileSTL.o: ../src/FileSTL.cpp + $(CXX) -c ../src/FileSTL.cpp -o tmp/FileSTL.o $(CFLAGS) + tmp/Mesh.o: ../src/Mesh.cpp $(CXX) -c ../src/Mesh.cpp -o tmp/Mesh.o $(CFLAGS)