#------------------------------------------------------------------------ # Main makefile #------------------------------------------------------------------------ default: cd src ; make if [ ! -e lib ] ; then mkdir lib ; fi cp src/*.a lib/ rm -rf src/*.a cd test ; make if [ ! -e bin ] ; then mkdir bin ; fi cp test/*.exe bin/ rm -rf test/*.exe all: make clean ; make clean: rm -rf lib/*; rm -rf bin/*; cd src ; make clean cd test ; make clean