
################################################################

#### samj 20130829
#### Pour compiler http://registry.gimp.org/files/gimp-webp_0.1.1.tar.gz ( http://registry.gimp.org/node/25874 )

CC = /w32/bin/mingw32-gcc.exe
B_CFLAGS = -I/w32/include -I/mingw/include -I/python/include -O3 -mms-bitfields -march=i686 -s -Wall
B_LDFLAGS = -L/w32/lib -L/mingw/lib -mwindows -lpthread -lwebp
GIMPARGS = $(shell gimptool-2.0 --cflags --libs)
PCREARGS = $(shell pcre-config --cflags --libs)

make: 
	$(CC) -o file-webp.exe -Wno-unused-variable -Wno-pointer-sign -Wno-parentheses *.c $(B_CFLAGS) $(B_LDFLAGS) $(GIMPARGS) $(PCREARGS)

################################################################