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)
|
||||
# -lprc
|
||||
# -pg
|
||||
CFLAGS = -g -Wall $(GPROFFLAG)
|
||||
gtkCFLAGS = -g -Wall $(GPROFFLAG)
|
||||
|
||||
ifneq (,$(findstring DPLATFORM_GTK,$(DEFINES)))
|
||||
# LIBS += `pkg-config --libs gtk+-2.0`
|
||||
# CFLAGS += `pkg-config --cflags gtk+-2.0` -DPOINTER_SUPPORT
|
||||
LIBS += $$(gtk-config --libs)
|
||||
CFLAGS += `gtk-config --cflags` -DPOINTER_SUPPORT
|
||||
LIBS += `pkg-config --libs gtk+-2.0`
|
||||
CFLAGS += `pkg-config --cflags gtk+-2.0` -DPOINTER_SUPPORT $(gtkCFLAGS) \
|
||||
-DGDK_DISABLE_DEPRECATED
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring DPLATFORM_NCURSES,$(DEFINES)))
|
||||
|
|
Loading…
Reference in a new issue