summaryrefslogtreecommitdiff
path: root/clcompile
diff options
context:
space:
mode:
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