]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
add a Makefile.conf for mingw32
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Thu, 7 Jan 2010 19:18:15 +0000 (19:18 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Thu, 7 Jan 2010 19:18:15 +0000 (19:18 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@412 61c419a2-8eb2-4b30-bcec-8cead039b335

mingw-Makefile.conf [new file with mode: 0644]

diff --git a/mingw-Makefile.conf b/mingw-Makefile.conf
new file mode 100644 (file)
index 0000000..652421a
--- /dev/null
@@ -0,0 +1,29 @@
+# Usage:
+# copy this file to Makefile.conf
+# edit the paths in here
+
+# how to call the mingw tools
+MINGW_EXEC_PREFIX = 
+
+# where the dependencies package is extracted
+RADIANT_DEPENDENCIES_PREFIX = /c/mingw/radiant-deps-mingw32/
+
+# run the prefix fixing tool
+IGNORETHIS := $(shell cd $(RADIANT_DEPENDENCIES_PREFIX) && ./fixprefix.sh)
+
+# set the environment for make
+OS = Win32
+CFLAGS +=
+CXXFLAGS +=
+CPPFLAGS += -I$(RADIANT_DEPENDENCIES_PREFIX)/radiantdeps/include
+LDFLAGS += -L$(RADIANT_DEPENDENCIES_PREFIX)/radiantdeps/lib
+PKG_CONFIG_PATH := $(RADIANT_DEPENDENCIES_PREFIX)/gtk/lib/pkgconfig:$(RADIANT_DEPENDENCIES_PREFIX)/radiantdeps/lib/pkgconfig:$(PKG_CONFIG_PATH)
+WHICHDLL = $(RADIANT_DEPENDENCIES_PREFIX)/whichdll.sh
+
+CC = $(MINGW_EXEC_PREFIX)gcc
+CXX = $(MINGW_EXEC_PREFIX)g++
+LDD =
+RANLIB = $(MINGW_EXEC_PREFIX)ranlib
+AR = $(MINGW_EXEC_PREFIX)ar
+WINDRES = $(MINGW_EXEC_PREFIX)windres
+PKGCONFIG = $(RADIANT_DEPENDENCIES_PREFIX)/gtk/bin/pkg-config