Don't use GNU extensions to C++
This commit is contained in:
@@ -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
|
||||
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user