summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2010-05-03 13:44:23 +0300
committerTor Lillqvist <tml@iki.fi>2010-05-03 13:49:16 +0300
commit5098f34234aa29cf496611bc7d41a7dcfac63743 (patch)
tree49c0a8eb386fa3d54ae13f5b8c5796f19b6016d2 /examples
parent0eaa17721022dad6eff61abee531dfcd008ace8e (diff)
downloadgtk+-5098f34234aa29cf496611bc7d41a7dcfac63743.tar.gz
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.
Diffstat (limited to 'examples')
-rw-r--r--examples/scribble-xinput/Makefile5
1 files 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