Merge branch 'unix-compat' into develop

Conflicts:
	todo.txt
This commit is contained in:
Kayne Ruse
2014-10-19 05:53:09 +11:00
17 changed files with 83 additions and 10 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ void ClientApplication::Init(int argc, char* argv[]) {
//load the prerequisites
ConfigUtility& config = ConfigUtility::GetSingleton();
config.Load("rsc\\config.cfg", argc, argv);
config.Load("rsc/config.cfg", argc, argv);
//-------------------------
//Initialize the APIs
+11 -2
View File
@@ -1,6 +1,15 @@
#config
#include directories
INCLUDES+=. client_utilities renderable scenes ../common/debugging ../common/gameplay ../common/graphics ../common/map ../common/network ../common/network/packet_types ../common/ui ../common/utilities
LIBS+=client.a ../libcommon.a -lSDL_net -lwsock32 -liphlpapi -lmingw32 -lSDLmain -lSDL -llua
#libraries
#the order of the $(LIBS) is important, at least for MinGW
LIBS+=client.a ../libcommon.a -lSDL_net
ifeq ($(OS),Windows_NT)
LIBS+=-lwsock32 -liphlpapi -lmingw32
endif
LIBS+=-lSDLmain -lSDL
#flags
CXXFLAGS+=-std=c++11 $(addprefix -I,$(INCLUDES))
#source