Parent Directory
|
Revision Log
Added routines to decode YCoCg and alpha exponent encoded images. They can be found in the Filters/Colors menu.
1 2 GIMPTOOL=gimptool-2.0 3 4 CC=gcc 5 CFLAGS=-pipe -g -O2 -Wall $(shell pkg-config --cflags gtk+-2.0 gimp-2.0) 6 LD=gcc 7 LDFLAGS= 8 9 TARGET=dds 10 11 SRCS=dds.c ddsread.c ddswrite.c dxt.c mipmap.c misc.c 12 OBJS=$(SRCS:.c=.o) 13 14 LIBS=$(shell pkg-config --libs gtk+-2.0 gimp-2.0 gimpui-2.0) 15 16 all: $(TARGET) 17 18 $(TARGET): $(OBJS) 19 $(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o $(TARGET) 20 21 clean: 22 rm -f *.o $(TARGET) 23 24 install: all 25 $(GIMPTOOL) --install-bin $(TARGET) 26 27 .c.o: 28 $(CC) -c $(CFLAGS) $< 29 30 dds.o: dds.c ddsplugin.h dds.h misc.h 31 ddsread.o: ddsread.c ddsplugin.h dds.h dxt.h endian.h 32 ddswrite.o: ddswrite.c ddsplugin.h dds.h dxt.h endian.h imath.h mipmap.h 33 dxt.o: dxt.c dxt.h dxt_tables.h dds.h endian.h mipmap.h imath.h 34 mipmap.o: mipmap.c mipmap.h dds.h imath.h 35 misc.o: misc.c misc.h
| ViewVC Help | |
| Powered by ViewVC 1.0.4 |