ref: 96270757ecc40d555aa27236c970dda9b4ec1975
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