summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: d2bfbec74668a90d04eb4ee246199b2937839149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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:
	rm libpixbufloader-psd.so

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/