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