Add warnings to Makefile, and fix WINDRES
This commit is contained in:
parent
67c4156764
commit
7e2e2c1406
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -1,4 +1,4 @@
|
||||||
WINDRES = windres
|
WINDRES ?= windres
|
||||||
|
|
||||||
BUILD_DIRECTORY = game
|
BUILD_DIRECTORY = game
|
||||||
ASSETS_DIRECTORY = assets
|
ASSETS_DIRECTORY = assets
|
||||||
|
@ -36,7 +36,7 @@ ifeq ($(DEBUG_SAVE), 1)
|
||||||
CXXFLAGS += -DDEBUG_SAVE
|
CXXFLAGS += -DDEBUG_SAVE
|
||||||
endif
|
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
|
LIBS += -lkernel32 -lgdi32 -lddraw -ldinput -ldsound -lversion -lshlwapi -limm32 -lwinmm -ldxguid
|
||||||
|
|
||||||
ifeq ($(STATIC), 1)
|
ifeq ($(STATIC), 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue