[gtk+] Update the Makefile for scribble-xinput
- From: Tor Lillqvist <tml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Update the Makefile for scribble-xinput
- Date: Mon, 3 May 2010 10:50:40 +0000 (UTC)
commit 5098f34234aa29cf496611bc7d41a7dcfac63743
Author: Tor Lillqvist <tml iki fi>
Date: Mon May 3 13:44:23 2010 +0300
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 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/examples/scribble-xinput/Makefile b/examples/scribble-xinput/Makefile
index 47d24b4..4907190 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]