diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-02-28 14:09:04 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-02-28 14:09:04 +0000 |
commit | cafcd5d4368e57f162a641ed3f4835ecb5a6d391 (patch) | |
tree | 56166fbf16289d8b388cf0f1f9b51e28c3c4bdf9 /clcompile |
Initial revision
Diffstat (limited to 'clcompile')
-rwxr-xr-x | clcompile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clcompile b/clcompile new file mode 100755 index 0000000..99dfd16 --- /dev/null +++ b/clcompile @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Wrapper around make, to colorize it's output and pipe through less. +# Jumps to the first gcc error that occurs during the build process. +# + +SIZE=`/bin/stty size` +$@ 2>&1 | /usr/bin/colormake.pl $SIZE | /usr/bin/less -r -pError |