summaryrefslogtreecommitdiff
path: root/libs.target.mk
blob: fa300e356ad675e02a60e3de5f1e670cabdf6b2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# See LICENSE file for copyright and license details.

clean-libs:
	rm -rf ${LIBDIR}

libs: ${LIBDIR} ${LIBDIR}/${LIBSTR}

${LIBDIR}:
	@mkdir -p $@

${LIBDIR}/${LIBSTR}:
	fetch -o - https://git.alessandroiezzi.it/libs/c/cstr.git/snapshot/${LIBSTR}.tar.gz | tar xzf - -C ${LIBDIR}
	cd $@ && make