forked from Garux/netradiant-custom
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mingw-Makefile.inc
29 lines (24 loc) · 975 Bytes
/
mingw-Makefile.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# how to call the mingw tools
MINGW_EXEC_PREFIX ?=
# where the dependencies package is extracted
RADIANT_DEPENDENCIES_PREFIX = $(HOME)/netradiant-dependencies-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
CPPFLAGS += -I$(RADIANT_DEPENDENCIES_PREFIX)/gtk/include
LDFLAGS += -L$(RADIANT_DEPENDENCIES_PREFIX)/gtk/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
#CPPFLAGS_XML =
#LIBS_XML = -lxml2
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