1 2 3 4 5 6 7 8 9 10 11 12 13 14
CC = gcc CFLAGS = -Wall \ -DG_DISABLE_DEPRECATED \ -DGDK_DISABLE_DEPRECATED \ -DGDK_PIXBUF_DISABLE_DEPRECATED \ -DGTK_DISABLE_DEPRECATED text: text.c $(CC) text.c -o text $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs` clean: rm -f *.o text