Verified Commit 9cad66f0 authored by RobLoach's avatar RobLoach
Browse files

Add -wfatal-errors

parent 97ad8245
......@@ -16,16 +16,16 @@ all: $(TARGET)
$(MAKE) $(TARGET)
$(TARGET): $(OBJECTS) | vendor/libretro-common/include/libretro.h
$(CXX) -Wfatal-errors -o $@ $^ $(LDFLAGS)
$(CXX) -o $@ $^ $(LDFLAGS)
%.o: %.cpp | vendor/libretro-common/include/libretro.h
$(CXX) -Wfatal-errors -c -o $@ $< $(CXXFLAGS)
$(CXX) -c -o $@ $< $(CXXFLAGS)
%.o: %.c | vendor/libretro-common/include/libretro.h
$(CC) -Wfatal-errors -c -o $@ $< $(CFLAGS)
$(CC) -c -o $@ $< $(CFLAGS)
%.o: %.m | vendor/libretro-common/include/libretro.h
$(CC) -Wfatal-errors -c -o $@ $< $(CFLAGS)
$(CC) -c -o $@ $< $(CFLAGS)
clean:
rm -f $(TARGET) $(OBJECTS)
......
......@@ -8,6 +8,7 @@ SOURCES_CXX := $(wildcard \
$(CORE_DIR)/src/love/Types/Graphics/*.cpp \
$(CORE_DIR)/src/love/Types/Input/*.cpp \
)
FLAGS += -Wfatal-errors
# semver
FLAGS += -I$(CORE_DIR)/vendor/semver
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment