This makes the output folder "required to exist" and not "required to be more recent." The folder's timestamp is updated when files are written into it. The files inside depend on the folder existing. The result is that the WASM and JS files are considered very slightly older than the folder that contains them. The result is that the folder is up-to-date but it's contents are not, thus re-building them and *again* updating the folder timestamp. The makefile was stuck constantly rebuilding things that are actually up-to-date.
1.0 KiB
1.0 KiB