1#!/bin/bash
2# With no args, does a full recompile
3# With -m, just remove dirty bins, qmake, make
4
5if [ "$1" != "-m" ] ; then
6	make clean
7fi
8
9rm -r lib/* traverso
10
11if [ "$1" != "-m" ] ; then
12	find ./ -name Makefile -type f -print0 | xargs -0 /bin/rm -f
13fi
14
15qmake -nocache
16time make -j2
17