1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh -e mk() { make \ PREFIX=/usr \ "$@" } mk -C lib mk -C programs LDFLAGS="$LDFLAGS -static" lz4 lz4c mk DESTDIR="$1" install