mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-18 10:08:29 +01:00
Switch to GTK 2.n.
This commit is contained in:
parent
3c23117a2a
commit
a83f1b46b6
1 changed files with 4 additions and 5 deletions
|
@ -64,13 +64,12 @@ OBJ = $(PLATFORM)/linuxmain.o \
|
||||||
LIBS = -lm -L $(HOME)/usr/local/pilot/lib $(GPROFFLAG)
|
LIBS = -lm -L $(HOME)/usr/local/pilot/lib $(GPROFFLAG)
|
||||||
# -lprc
|
# -lprc
|
||||||
# -pg
|
# -pg
|
||||||
CFLAGS = -g -Wall $(GPROFFLAG)
|
gtkCFLAGS = -g -Wall $(GPROFFLAG)
|
||||||
|
|
||||||
ifneq (,$(findstring DPLATFORM_GTK,$(DEFINES)))
|
ifneq (,$(findstring DPLATFORM_GTK,$(DEFINES)))
|
||||||
# LIBS += `pkg-config --libs gtk+-2.0`
|
LIBS += `pkg-config --libs gtk+-2.0`
|
||||||
# CFLAGS += `pkg-config --cflags gtk+-2.0` -DPOINTER_SUPPORT
|
CFLAGS += `pkg-config --cflags gtk+-2.0` -DPOINTER_SUPPORT $(gtkCFLAGS) \
|
||||||
LIBS += $$(gtk-config --libs)
|
-DGDK_DISABLE_DEPRECATED
|
||||||
CFLAGS += `gtk-config --cflags` -DPOINTER_SUPPORT
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(findstring DPLATFORM_NCURSES,$(DEFINES)))
|
ifneq (,$(findstring DPLATFORM_NCURSES,$(DEFINES)))
|
||||||
|
|
Loading…
Reference in a new issue