summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4f667b4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+# ok, our Makefile slightly sucks at the moment
+
+CC = gcc
+CFLAGS=-Wall -std=c99
+
+all:
+ $(CC) $(CFLAGS) io-psd.c -o libpixbufloader-psd.so \
+ `pkg-config --cflags gtk+-2.0` \
+ -shared -fpic -DGDK_PIXBUF_ENABLE_BACKEND
+
+# and then run the following as root:
+# gdk-pixbuf-query-loaders libpixbufloader-psd.so >> /etc/gtk-2.0/gdk-pixbuf.loaders
+
+