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