#!/bin/bash
TARGET=""
if [ $1 ]
then
    TARGET=$1
fi

make -j 8 $TARGET 2>&1 | tee build.out | grep --color -iE "error|warning|undefined reference to|$"
exit $?

-- MattWalsh - 08 Sep 2009

Topic revision: r1 - 08 Sep 2009 - MattWalsh
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback