]> git.xonotic.org Git - xonotic/netradiant.git/blob - oldstuff/mingw-radiantdeps-Makefile.inc
Fix GTK_CRITICAL errors
[xonotic/netradiant.git] / oldstuff / mingw-radiantdeps-Makefile.inc
1 # where the dependencies package is extracted
2 RADIANT_DEPENDENCIES_PREFIX = $(HOME)/netradiant-dependencies-mingw32/
3
4 # run the prefix fixing tool
5 IGNORETHIS := $(shell cd $(RADIANT_DEPENDENCIES_PREFIX) && ./fixprefix.sh)
6
7 # set the environment for make
8 CFLAGS +=
9 CXXFLAGS +=
10 CPPFLAGS += -I$(RADIANT_DEPENDENCIES_PREFIX)/radiantdeps/include
11 LDFLAGS += -L$(RADIANT_DEPENDENCIES_PREFIX)/radiantdeps/lib
12 CPPFLAGS += -I$(RADIANT_DEPENDENCIES_PREFIX)/gtk/include
13 LDFLAGS += -L$(RADIANT_DEPENDENCIES_PREFIX)/gtk/lib
14 PKG_CONFIG_PATH := $(RADIANT_DEPENDENCIES_PREFIX)/gtk/lib/pkgconfig:$(RADIANT_DEPENDENCIES_PREFIX)/radiantdeps/lib/pkgconfig:$(PKG_CONFIG_PATH)
15 WHICHDLL = $(RADIANT_DEPENDENCIES_PREFIX)/whichdll.sh