You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
461 B
24 lines
461 B
BUILDDIR=/tmp
|
|
WORKDIR=github.com/harukasan/go-libwebp
|
|
|
|
all: test
|
|
|
|
test:
|
|
go test -v ${WORKDIR}/...
|
|
|
|
libwebp:
|
|
test -e ${LIBWEBP_PREFIX}/lib/libwebp.so || ( \
|
|
cd ${BUILDDIR} \
|
|
&& wget http://downloads.webmproject.org/releases/webp/libwebp-${LIBWEBP_VERSION}.tar.gz \
|
|
&& tar xf libwebp-${LIBWEBP_VERSION}.tar.gz \
|
|
&& cd libwebp-${LIBWEBP_VERSION} \
|
|
&& ./configure --prefix=${LIBWEBP_PREFIX} \
|
|
&& make \
|
|
&& make install \
|
|
)
|
|
|
|
.PHONY: \
|
|
all \
|
|
test
|
|
|