Robert Garrett d34d0a31f2 Fix: Folder deps need to be order-only deps
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.
2025-12-19 11:26:18 -06:00
2025-11-15 15:18:54 -06:00
2025-12-19 10:41:08 -06:00
2025-12-19 10:41:08 -06:00
2025-10-30 12:47:22 -05:00
2025-12-17 11:01:23 -06:00

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].

Description
Another Asteroids game, this time in Rust with the Bevy engine.
Readme AGPL-3.0 612 KiB
Languages
Rust 86.5%
HTML 7.3%
Makefile 5.5%
Dockerfile 0.7%