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