summaryrefslogtreecommitdiff
path: root/clcompile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-02-28 14:09:04 +0000
committerJonas Smedegaard <dr@jones.dk>2002-02-28 14:09:04 +0000
commitcafcd5d4368e57f162a641ed3f4835ecb5a6d391 (patch)
tree56166fbf16289d8b388cf0f1f9b51e28c3c4bdf9 /clcompile
Initial revision
Diffstat (limited to 'clcompile')
-rwxr-xr-xclcompile8
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