21 Commits

Author SHA1 Message Date
ISSOtm
a2e82037df Correctly force refreshing the build date
Fixes #6
2025-05-05 17:11:18 -04:00
ISSOtm
94ea749c25 Fix build errors on Windows
Thanks to @ghostsoft for help testing this!
2023-11-24 12:38:47 +01:00
ISSOtm
0653447bb6 Move includes out of src
This mirrors gb-starter-kit, where it was important because submodules
can pull in `.asm` files that we don't want to assemble.
2023-11-05 17:21:51 +01:00
ISSOtm
06ea1ea0fa Overhaul boilerplate
Fix occasional build issues, which turned out to be improper use of multiple targets
Update links to point to current URLs for resources
Improve formatting where applicable
Switch to recursively scanning for assembly files, as this has proven to scale better
2023-11-05 11:55:48 +01:00
Eldred Habert
b5343affca Use same Windows detection method as starter-kit
This supports POSIX environments under Windows as well
2022-03-29 19:11:32 +02:00
ISSOtm
4299834bbc Avoid using variables for directories that cannot be moved
In theory, `src/` could be moved, but that can be done using `make -f path/to/Makefile`
instead, so getting rid of some complexity is worth it.
Also, I doubt there is a use case for this :P
2021-08-31 17:49:52 +02:00
ISSOtm
9e79b46654 Do not forget to create output dir for compressed files 2021-03-14 12:39:11 +01:00
ISSOtm
5a58d19f7d Trap trying to build non-existent files
Fixes the usual infinite loop
2021-03-14 12:38:01 +01:00
ISSOtm
a607fc0677 Place resource files after all
This will avoid them acting as default targets
2021-03-14 12:38:01 +01:00
ISSOtm
820cb00ae1 Add Windows compatibility 2021-03-03 04:55:04 +01:00
ISSOtm
46534337fe Fix incorrect variable usage breaking include dirs 2020-04-26 22:42:52 +02:00
ISSOtm
4c9dd12d91 Use RGBDS 0.4.0 and make boilerplate minimal 2020-04-25 19:30:49 +02:00
Eldred Habert
3f6309cdce Fix missing global checksum correction
I failed to reinstate this after removing the 0.3.7 RGBFIX workaround. This also means that RGBFIX before 0.3.6 (which introduced `-f`) can be used again.
2019-10-01 22:50:25 +02:00
ISSOtm
0ebc012c9e Add mode $8800 tilemap conversion tool 2019-04-28 19:38:16 +02:00
ISSOtm
ecb895c97a Fix "duplicate rules" error & polish Makefile 2019-04-28 19:36:07 +02:00
ISSOtm
492d8fd473 Fix mkdir on msys (apparently)
I don't have an environment to test, let's just hope this works :S
2019-03-01 13:21:36 +01:00
ISSOtm
4cd8795b89 Remove comments within Makefile recipes 2019-02-16 11:08:25 +01:00
ISSOtm
19964de8aa Generate date using RGBDS built-in
This adds a "Z" at the end of the build date, but this should be fine
2019-01-26 14:32:10 +01:00
ISSOtm
4750306a1f Improve dependency file generation
Run the whole generation in one command
2019-01-25 19:01:53 +01:00
ISSOtm
7017914b51 Remove concurrency
If compiling with more than one task running at once,
there could be a concurrency on $(DEPSDIR)/tmp.d
Fixed that by making the temporary name unique using the target's name.
2018-12-03 17:30:56 +01:00
ISSOtm
ad3623c9d2 Add files 2018-10-19 00:49:14 +02:00