From 1e6f0c33a6273d258252d0bec82df069690b5c9a Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 29 May 2005 20:40:38 +0000 Subject: [PATCH] Switch to GTK 2.n. --- linux/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index 136a89f98..17423e71b 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -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)))