add many SCons targets (see DEVNOTES)
make automatic model downloading work again
remove Makefiles -- now obsolete and hardly maintainable
env = Environment()
env.Append(BUILDERS = {'Copy':Builder(action=Copy('$TARGET','$SOURCE'), single_source=True)})
files = ['lwo/Nissan300ZX.lwo', 'obj/cube.obj', 'obj/sphere.obj', 'obj/monkey.obj']
l = []
for file in files:
l.append( env.Copy('#build/models/'+file, file) )
env.Alias('local-models', l)
plydir = Dir('#build/models/ply/')
Command(plydir, [], Dir('#models/').abspath+'/download-stanford $TARGET')
Clean(plydir, plydir)
env.Alias('download-models', plydir)
env.Alias('models', ['local-models', 'download-models'])