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

@@ -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)