From e1992b8ce4929618cc791b5129885b0735c3e1ca Mon Sep 17 00:00:00 2001 From: Steve Date: Sat, 24 Mar 2018 16:58:04 +0000 Subject: [PATCH] Windows build updates. --- .gitignore | 1 + makefile.win32 | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index add7f7c..f2084dd 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ blobwarsAttrition *.o .DS_Store dist/* +/blobWarsAttrition.exe diff --git a/makefile.win32 b/makefile.win32 index b70c02c..3935cc8 100644 --- a/makefile.win32 +++ b/makefile.win32 @@ -5,16 +5,16 @@ LIBPATH = /usr/x86_64-w64-mingw32/lib LOCALE_DIR = locale 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 += -Wall -Wempty-body -ansi -pedantic -Werror -Wstrict-prototypes -Werror=maybe-uninitialized -Warray-bounds CXXFLAGS += -g -lefence CXXFLAGS += -fms-extensions -std=gnu11 -LDFLAGS += `$(SDLC) --libs` -lm -lSDL2_mixer -lSDL2_image -lSDL2_ttf -lSDL2main -lz -lpng - -include common.mk +LDFLAGS += `$(SDLC) --libs` -lm -lSDL2_mixer -lSDL2_image -lSDL2_ttf -lSDL2main -lpng -lz # linking the program. $(PROG): $(OBJS)