mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
b3d5f148e6
* examples/*/Makefile (CFLAGS): add deprecation guards. * docs/tutorial/gtk-tut.sgml, examples/*/*.c: make most examples deprecation-clean; the major offenders right now are the examples that make heavy use of completely deprecated or broken widgets: list, tree, text, pixmap, paned and progressbar. These will have to be redone from scratch. * demos/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.
21 lines
506 B
Makefile
21 lines
506 B
Makefile
|
|
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) -c dial_test.c -o dial_test.o $(CFLAGS) `pkg-config gtk+-2.0 --cflags`
|
|
|
|
gtkdial.o: gtkdial.c gtkdial.h
|
|
$(CC) -c gtkdial.c -o gtkdial.o $(CFLAGS) `pkg-config gtk+-2.0 --cflags`
|
|
|
|
clean:
|
|
rm -f *.o dial_test
|