From 7e2e2c14060f62423b61c17ad314fadf95bded64 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sun, 17 Nov 2019 18:04:20 +0000 Subject: [PATCH] Add warnings to Makefile, and fix WINDRES --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f65239c8..2664b425 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -WINDRES = windres +WINDRES ?= windres BUILD_DIRECTORY = game ASSETS_DIRECTORY = assets @@ -36,7 +36,7 @@ ifeq ($(DEBUG_SAVE), 1) CXXFLAGS += -DDEBUG_SAVE endif -CXXFLAGS += -std=c++98 -MMD -MP -MF $@.d +CXXFLAGS += -std=c++98 -Wall -Wextra -pedantic -MMD -MP -MF $@.d LIBS += -lkernel32 -lgdi32 -lddraw -ldinput -ldsound -lversion -lshlwapi -limm32 -lwinmm -ldxguid ifeq ($(STATIC), 1)