Don't use GNU extensions to C++

This commit is contained in:
Sylae Corell
2014-07-29 12:12:11 -06:00
parent 2bb6806436
commit 71a8f2156d
4 changed files with 5 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ RES = Blades_of_Exile_private.res
INCS = -I"include"
CXXINCS =
BIN = boesounds.dll
CXXFLAGS = $(CXXINCS) -Wall -O2 -g
CXXFLAGS = $(CXXINCS) -Wall -O2 -g -std=c++11
RM = rm -f
.PHONY: all all-before all-after clean clean-custom

View File

@@ -10,9 +10,7 @@ LIBS = -lwinmm -mwindows -lwinmm -static-libgcc -static-libstdc++
INCS = -I"include"
CXXINCS =
BIN = "Blades of Exile Character Editor.exe"
CXXFLAGS = $(CXXINCS) -Wall -O2
CFLAGS = $(INCS) -O2
RM = rm -f
CXXFLAGS = $(CXXINCS) -Wall -O2 -std=c++11
.PHONY: all all-before all-after clean clean-custom
@@ -20,7 +18,7 @@ all: all-before "Blades of Exile Character Editor.exe" all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
rm -f $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "Blades of Exile Character Editor.exe" $(LIBS)

View File

@@ -10,7 +10,7 @@ LIBS = -mwindows -lwinmm -static-libgcc -static-libstdc++
INCS = -I"include"
CXXINCS =
BIN = "Blades of Exile.exe"
CXXFLAGS = $(CXXINCS) -Wall -O2 $(FLAGS)
CXXFLAGS = $(CXXINCS) -Wall -O2 -std=c++11 $(FLAGS)
CFLAGS = $(INCS) -O2
RM = rm -f

View File

@@ -10,7 +10,7 @@ LIBS = -mwindows -lwinmm --strip-all -static-libgcc -static-libstdc++
INCS = -I"include"
CXXINCS =
BIN = "Blades of Exile Scenario Editor.exe"
CXXFLAGS = $(CXXINCS) -fno-exceptions -fno-rtti
CXXFLAGS = $(CXXINCS) -fno-exceptions -fno-rtti -std=c++11
CFLAGS = $(INCS)
RM = rm -f