Mercurial > hg > qcc
view make/install.sh @ 565:1dadc72cb41f
Add a Makefile with some make/* wrappers, for UI reasons. Remove CC_CRTDIR
and move CC_LIBPATH to make/make.sh and explain why (it can still be overridden
from configure). Only source ./configure once in make/make.sh so "make native"
works (on a platform where you can make that target, anyway).
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 11 Mar 2008 23:51:35 -0500 |
parents | 9778e985b450 |
children | 45bdc3a391df |
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 /usr/local/bin