diff options
Diffstat (limited to 'examples/eventbox/Makefile')
-rw-r--r-- | examples/eventbox/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/eventbox/Makefile b/examples/eventbox/Makefile index 3eb24d5ce4..96b4f5c24b 100644 --- a/examples/eventbox/Makefile +++ b/examples/eventbox/Makefile @@ -1,8 +1,14 @@ CC = gcc +CFLAGS = -Wall \ + -DG_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ + -DGTK_DISABLE_DEPRECATED + eventbox: eventbox.c - $(CC) `pkg-config --cflags gtk+-2.0` eventbox.c -o eventbox `pkg-config --libs gtk+-2.0` + $(CC) eventbox.c -o eventbox $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs` clean: rm -f *.o eventbox |