diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
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 @@ | |||
| 1 | # ok, our Makefile slightly sucks at the moment | ||
| 2 | |||
| 3 | CC = gcc | ||
| 4 | CFLAGS=-Wall -std=c99 | ||
| 5 | |||
| 6 | all: | ||
| 7 | $(CC) $(CFLAGS) io-psd.c -o libpixbufloader-psd.so \ | ||
| 8 | `pkg-config --cflags gtk+-2.0` \ | ||
| 9 | -shared -fpic -DGDK_PIXBUF_ENABLE_BACKEND | ||
| 10 | |||
| 11 | # and then run the following as root: | ||
| 12 | # gdk-pixbuf-query-loaders libpixbufloader-psd.so >> /etc/gtk-2.0/gdk-pixbuf.loaders | ||
| 13 | |||
| 14 | |||
