diff options
Diffstat (limited to 'libs.target.mk')
-rw-r--r-- | libs.target.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs.target.mk b/libs.target.mk new file mode 100644 index 0000000..fa300e3 --- /dev/null +++ b/libs.target.mk @@ -0,0 +1,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 |