Mercurial > hg > qcc
view make/install.sh @ 596:3cffd74ad346 default tip
Plan for relicensing under 2-clause BSD.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 14 Jun 2012 20:28:25 -0500 |
parents | 45bdc3a391df |
children |
line wrap: on
line source
#!/bin/bash source ./configure if [ -z "$TINYCC_INSTALLDIR" ] then echo 'No $TINYCC_INSTALLDIR' >&2 exit 1 fi # Install libraries and headers $DEBUG mkdir -p "$TINYCC_INSTALLDIR"/{lib,include} && $DEBUG cp libtinyccrt-*.a libtinycc-*.so "$TINYCC_INSTALLDIR"/lib && $DEBUG cp include/* "$TINYCC_INSTALLDIR"/include && # Install binaries $DEBUG cp *-tinycc "$PREFIX"/bin