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