Windows build updates.
This commit is contained in:
parent
30103bde5c
commit
e1992b8ce4
|
@ -5,3 +5,4 @@ blobwarsAttrition
|
||||||
*.o
|
*.o
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dist/*
|
dist/*
|
||||||
|
/blobWarsAttrition.exe
|
||||||
|
|
|
@ -5,16 +5,16 @@ LIBPATH = /usr/x86_64-w64-mingw32/lib
|
||||||
LOCALE_DIR = locale
|
LOCALE_DIR = locale
|
||||||
|
|
||||||
SEARCHPATH += src/plat/win32
|
SEARCHPATH += src/plat/win32
|
||||||
OBJS += win32Init.o
|
_OBJS += win32Init.o
|
||||||
|
|
||||||
|
include common.mk
|
||||||
|
|
||||||
CXXFLAGS += `$(SDLC) --cflags` -DVERSION=$(VERSION) -DREVISION=$(REVISION) -DDATA_DIR=\"$(DATA_DIR)\" -DLOCALE_DIR=\"$(LOCALE_DIR)\"
|
CXXFLAGS += `$(SDLC) --cflags` -DVERSION=$(VERSION) -DREVISION=$(REVISION) -DDATA_DIR=\"$(DATA_DIR)\" -DLOCALE_DIR=\"$(LOCALE_DIR)\"
|
||||||
CXXFLAGS += -Wall -Wempty-body -ansi -pedantic -Werror -Wstrict-prototypes -Werror=maybe-uninitialized -Warray-bounds
|
CXXFLAGS += -Wall -Wempty-body -ansi -pedantic -Werror -Wstrict-prototypes -Werror=maybe-uninitialized -Warray-bounds
|
||||||
CXXFLAGS += -g -lefence
|
CXXFLAGS += -g -lefence
|
||||||
CXXFLAGS += -fms-extensions -std=gnu11
|
CXXFLAGS += -fms-extensions -std=gnu11
|
||||||
|
|
||||||
LDFLAGS += `$(SDLC) --libs` -lm -lSDL2_mixer -lSDL2_image -lSDL2_ttf -lSDL2main -lz -lpng
|
LDFLAGS += `$(SDLC) --libs` -lm -lSDL2_mixer -lSDL2_image -lSDL2_ttf -lSDL2main -lpng -lz
|
||||||
|
|
||||||
include common.mk
|
|
||||||
|
|
||||||
# linking the program.
|
# linking the program.
|
||||||
$(PROG): $(OBJS)
|
$(PROG): $(OBJS)
|
||||||
|
|
Loading…
Reference in New Issue