mirror of
https://github.com/danog/gllvm.git
synced 2024-12-02 21:27:49 +01:00
27 lines
464 B
Makefile
27 lines
464 B
Makefile
|
VERSION=0.29.2
|
||
|
SRC=pkg-config-${VERSION}
|
||
|
TARBALL=${SRC}.tar.gz
|
||
|
URL=https://pkg-config.freedesktop.org/releases/${TARBALL}
|
||
|
|
||
|
all: pkg-config.bc
|
||
|
|
||
|
${TARBALL}:
|
||
|
wget ${URL}
|
||
|
|
||
|
${SRC}: ${TARBALL}
|
||
|
tar xvfz ${TARBALL}
|
||
|
touch ${SRC}
|
||
|
|
||
|
${SRC}/pkg-config:
|
||
|
cd ${SRC}; CC=gclang ./configure --with-internal-glib; make
|
||
|
|
||
|
pkg-config.bc: ${SRC}/pkg-config
|
||
|
get-bc -o pkg-config.bc ${SRC}/pkg-config
|
||
|
|
||
|
clean:
|
||
|
make -C ${SRC} clean
|
||
|
|
||
|
|
||
|
spotless:
|
||
|
rm -rf ${SRC} ${TARBALL} pkg-config.bc
|