diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -3,11 +3,20 @@ CC = gcc CFLAGS=-Wall -std=c99 +DESTDIR= + all: $(CC) $(CFLAGS) io-psd.c -o libpixbufloader-psd.so \ `pkg-config --cflags gtk+-2.0` \ -shared -fpic -DGDK_PIXBUF_ENABLE_BACKEND +clean: + +install: + chmod 644 libpixbufloader-psd.so + mkdir -p $(DESTDIR)/usr/lib/gtk-2.0/2.10.0/loaders/ + cp libpixbufloader-psd.so $(DESTDIR)/usr/lib/gtk-2.0/2.10.0/loaders/ + # and then run the following as root: # gdk-pixbuf-query-loaders libpixbufloader-psd.so >> /etc/gtk-2.0/gdk-pixbuf.loaders |