ref: 6666cce6159b438418bb744daabe8f450f756938
dir: /mkfile/
<mkfile.common HEADER=h/soundpipe.h PWD=`{pwd} CLEANFILES=$HEADER DIRS=modules lib/dr_wav lib/inih lib/kissfft lib/openlpc lib/spa tangled default:V: all all:VQ: $HEADER for(d in $DIRS){ cd $d && mk; cd $PWD } clean:VQ: rm -f $HEADER for(d in $DIRS){ cd $d && mk clean; cd $PWD } $HEADER: $HFILES { echo '#ifndef _soundpipe_h_' echo '#define _soundpipe_h_' echo echo '#pragma lib' "^$PWD^/modules/libspmodules.a^$O^" echo '#pragma lib' "^$PWD^/lib/dr_wav/libdr_wav.a^$O^" echo '#pragma lib' "^$PWD^/lib/inih/libinih.a^$O^" echo '#pragma lib' "^$PWD^/lib/kissfft/libkissfft.a^$O^" echo '#pragma lib' "^$PWD^/lib/openlpc/libopenlpc.a^$O^" echo '#pragma lib' "^$PWD^/lib/spa/libspa.a^$O^" echo '#pragma lib' "^$PWD^/tangled/libtangled.a^$O^" echo for(f in $HFILES){ echo '#include' "^`{basename $f}^" } echo echo '#endif' } >$target