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