Add clean target to Makefile
oxr463 opened this issue · 3 comments
oxr463 commented
These invocations of rm -rf $@
for each target in the Makefile
should be put in a separate clean
target. That way it doesn't remove everything each time the user re-runs make
.
This would be especially helpful for all of the large files that are downloaded during the build process.
rgl commented
Not sure what you mean. What do you think it's being deleted, why and when?
oxr463 commented
One example is this line: https://github.com/rgl/windows-vagrant/blob/master/Makefile#L205
Deleting that directory also deletes the ISO that gets downloaded, which is over 1GB.