From 5098f34234aa29cf496611bc7d41a7dcfac63743 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 3 May 2010 13:44:23 +0300 Subject: [PATCH] Update the Makefile for scribble-xinput Don't use GTK_DISABLE_DEPRECATED as scribble-xinput does use deprecated API. Also, make the CC command line more canonical. --- examples/scribble-xinput/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/scribble-xinput/Makefile b/examples/scribble-xinput/Makefile index 47d24b4c31..4907190fdc 100644 --- a/examples/scribble-xinput/Makefile +++ b/examples/scribble-xinput/Makefile @@ -4,11 +4,10 @@ CC = gcc CFLAGS = -Wall \ -DG_DISABLE_DEPRECATED \ -DGDK_DISABLE_DEPRECATED \ - -DGDK_PIXBUF_DISABLE_DEPRECATED \ - -DGTK_DISABLE_DEPRECATED + -DGDK_PIXBUF_DISABLE_DEPRECATED scribble-xinput: scribble-xinput.c - $(CC) scribble-xinput.c -o scribble-xinput $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs` + $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` scribble-xinput.c -o scribble-xinput $(LDFLAGS) `pkg-config --libs gtk+-2.0` clean: rm -f *.o scribble-xinput