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