convert sconstruct to a shell script to generate a makefile
this should be enough for fwsetup's makefile