#iz sources cd ../etc/iz/import/ iz=$(find `pwd` -type f -name \*.d) cd ../../../dastworx #dparse sources cd ../etc/libdparse/src/ dparse=$(find `pwd` -type f -name \*.d) cd ../../../dastworx #stdx-alloc sources cd ../etc/stdx-allocator/source/ stdxalloc=$(find `pwd` -type f -name \*.d) cd ../../../dastworx #dast sources cd src/ dast=$(find `pwd` -type f -name \*.d) cd ../ echo building... #build dmd ${dast[@]} ${dparse[@]} ${iz[@]} ${stdxalloc[@]} \ -O -release -inline -boundscheck=off \ -Isrc -I../etc/iz/import -I../etc/libdparse/src -I../etc/stdx-allocator/source \ -of../bin/dastworx #cleanup rm ../bin/dastworx.o echo ...done