d34d0a31f26ed43d75b03649946ce2c8a656bfe9
I did the thing againnnnn. The Makefile thinks the sound assets are
constantly out-of-date because the folder that contains them technically
changes any time a file is added or removed from the folder.
1. "out/assets" is created, it is up-to-date
2. "out/assets/example.ogg" is created, it is up-to-date
3. Parent folder "out/assets" has it's mtime updated because it's
contents have changed. It is newer than it was at step 1, and newer
than the .ogg file in step 2.
4. run `make` again
5. "out/assets" is up-to-date, nothing changes
6. "out/assets/example.ogg" is OLDER than one of it's dependencies
("out/assets/"), and is rebuilt.
7. "out/assets" got new contents, so it's mtime was updated again.
The cycle isn't infinite, but it will always try to rebuild the sound
files. The fix is to consider the containing folder to only be an
ordering dependency rather than a substantive dependency. The former
only needs the dependency to be made first, where the latter considers
the dependency to be part of the target file. The containing folder is
not part of the sound files, so "rebuilding" the sound files when the
folder changes is complete nonsense.
Asteroids
Another Asteroids game I'm making. This time in Rust with the Bevy game engine.
License
| File(s) | License |
|---|---|
| * | AGPLv3 |
| assets/* | CC0 |
(the most-specific match is the applicable license)
The sound files are from KenneyNL's "Sci-Fi Sounds (1.0)" pack. Find their work at [www.kenney.nl].
Languages
Rust
86.5%
HTML
7.3%
Makefile
5.5%
Dockerfile
0.7%