Permalink
Browse files

Better example configurations

Add better example configurations in binaries/ and mingw/
  • Loading branch information...
1 parent 691af82 commit 89fc2f05d647ae5a6c358dd2126f53376a5ffaf6 @turol turol committed May 27, 2011
View
@@ -0,0 +1,3 @@
+local.mk
+
+claw_opengl-bin
View
@@ -44,7 +44,7 @@ LDLIBS:=$(shell sdl-config --libs)
LDLIBS+=-lGLEW -lGL -lGLU
LDLIBS+=-lSDL_image -lSDL_ttf -lSDL_sound
#LDLIBS+=-L/usr/local/lib -lfmod-3.75
-LDLIBS+=-L. -lunzip -lz
+LDLIBS+=-lminizip -lz
LDLIBS+=-lpthread
LDLIBS_fmod:=-lfmod
@@ -13,8 +13,7 @@
#include "input_compressed_file_stream.h"
#include <fstream>
#include <vector>
-//#include <zlib.h>
-#include "zlib.h"
+#include <zlib.h>
#include "../system/Logger.h"
#include "../util/Debug_MemoryManager.h"
@@ -13,7 +13,7 @@
#include "ifile_list.h"
// minizip
-#include "unzip.h"
+#include <unzip.h>
#pragma comment(lib, "minizip.lib")
#pragma comment(lib, "zlib.lib")
View
@@ -0,0 +1,4 @@
+local.mk
+
+claw_opengl.exe
+claw_d3d.exe
View
@@ -27,6 +27,7 @@ CXXFLAGS:=-g
CXXFLAGS+=-I$(TOPDIR) -I$(TOPDIR)/claw_proto -I$(TOPDIR)/storm/include -I$(TOPDIR)/storm/keyb3
CXXFLAGS+=-include $(TOPDIR)/claw_proto/configuration.h
CXXFLAGS+=-DLIGHT_MAX_AMOUNT=5
+CXXFLAGS+=$(shell i386-mingw32msvc-sdl-config --cflags)
# in a perfect world...
#CXXFLAGS:=-Wall -Wextra -Werror
# in the real world...

0 comments on commit 89fc2f0

Please sign in to comment.