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