shithub: cstory

Download patch

ref: 7e2e2c14060f62423b61c17ad314fadf95bded64
parent: 67c41567644715d37c56fe7dd8c5486e03cf3cf7
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Nov 17 13:04:20 EST 2019

Add warnings to Makefile, and fix WINDRES

--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-WINDRES = windres
+WINDRES ?= windres
 
 BUILD_DIRECTORY = game
 ASSETS_DIRECTORY = assets
@@ -36,7 +36,7 @@
 	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)