warn warn warn
[divverent/netradiant.git] / cross-Makefile.conf
1 # Usage:
2 # copy this file to Makefile.conf
3 # edit the paths in here
4
5 # how to call the mingw tools
6 MINGW_EXEC_PREFIX = i586-mingw32msvc-
7
8 # where the dependencies package is extracted
9 RADIANT_DEPENDENCIES_PREFIX = $(HOME)/radiantdeps/
10
11 # run the prefix fixing tool
12 IGNORETHIS := $(shell cd $(RADIANT_DEPENDENCIES_PREFIX) && ./fixprefix.sh)
13
14 # set the environment for make
15 OS = Win32
16 CFLAGS +=
17 CXXFLAGS +=
18 CPPFLAGS += -I$(RADIANT_DEPENDENCIES_PREFIX)/radiantdeps/include
19 LDFLAGS += -L$(RADIANT_DEPENDENCIES_PREFIX)/radiantdeps/lib
20 PKG_CONFIG_PATH := $(RADIANT_DEPENDENCIES_PREFIX)/gtk/lib/pkgconfig:$(RADIANT_DEPENDENCIES_PREFIX)/radiantdeps/lib/pkgconfig:$(PKG_CONFIG_PATH)
21 WHICHDLL = $(RADIANT_DEPENDENCIES_PREFIX)/whichdll.sh
22
23 CC = $(MINGW_EXEC_PREFIX)gcc
24 CXX = $(MINGW_EXEC_PREFIX)g++
25 LDD =
26 RANLIB = $(MINGW_EXEC_PREFIX)ranlib
27 AR = $(MINGW_EXEC_PREFIX)ar
28 WINDRES = $(MINGW_EXEC_PREFIX)windres