summaryrefslogtreecommitdiff
path: root/examples/clist/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/clist/Makefile')
-rw-r--r--examples/clist/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/clist/Makefile b/examples/clist/Makefile
index cdb294811..1e45050df 100644
--- a/examples/clist/Makefile
+++ b/examples/clist/Makefile
@@ -1,8 +1,14 @@
CC = gcc
+CFLAGS = -Wall \
+ -DG_DISABLE_DEPRECATED \
+ -DGDK_DISABLE_DEPRECATED \
+ -DGDK_PIXBUF_DISABLE_DEPRECATED \
+ -DGTK_DISABLE_DEPRECATED
+
clist: clist.c
- $(CC) `pkg-config --cflags gtk+-2.0` clist.c -o clist `pkg-config --libs gtk+-2.0`
+ $(CC) clist.c -o clist `pkg-config gtk+-2.0 --cflags --libs`
clean:
rm -f *.o clist