summaryrefslogtreecommitdiff
path: root/examples/pixmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pixmap/Makefile')
-rw-r--r--examples/pixmap/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/pixmap/Makefile b/examples/pixmap/Makefile
index 7e421f7cb..34c625ed6 100644
--- a/examples/pixmap/Makefile
+++ b/examples/pixmap/Makefile
@@ -1,8 +1,16 @@
CC = gcc
+#CFLAGS = -Wall \
+# -DG_DISABLE_DEPRECATED \
+# -DGDK_DISABLE_DEPRECATED \
+# -DGDK_PIXBUF_DISABLE_DEPRECATED \
+# -DGTK_DISABLE_DEPRECATED
+
+CFLAGS =
+
pixmap: pixmap.c
- $(CC) `pkg-config --cflags gtk+-2.0` pixmap.c -o pixmap `pkg-config --libs gtk+-2.0`
+ $(CC) pixmap.c -o pixmap $(CFLAGS) `pkg-config gtk+-2.0 --cflags --libs`
clean:
rm -f *.o pixmap