summaryrefslogtreecommitdiff
path: root/ccompile
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 /ccompile
Initial revision
Diffstat (limited to 'ccompile')
-rwxr-xr-xccompile9
1 files changed, 9 insertions, 0 deletions
diff --git a/ccompile b/ccompile
new file mode 100755
index 0000000..f5086ad
--- /dev/null
+++ b/ccompile
@@ -0,0 +1,9 @@
+#!/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
+exit $?