Implementing the two-pass solution mentioned here as the one originally implemented as part of #13 wasn't accepted.
I am unsure whether this should be a separate rule or part of the previously existing one, so please tell me whatever is more preferred here.
I've tested this on sdcc 4.2.0 and 4.3.0 and in both cases, compilation happens without error, and build/*.d files contain expected contents. Hopefully, I haven't missed something.
Related: https://github.com/whitequark/libfx2/issues/11#issuecomment-1910613239
Implementing the two-pass solution mentioned [here](https://sourceforge.net/p/sdcc/mailman/message/37851121/) as the one originally implemented as part of #13 wasn't accepted.
I am unsure whether this should be a separate rule or part of the previously existing one, so please tell me whatever is more preferred here.
I've tested this on sdcc 4.2.0 and 4.3.0 and in both cases, compilation happens without error, and build/*.d files contain expected contents. Hopefully, I haven't missed something.
Related: https://github.com/whitequark/libfx2/issues/11#issuecomment-1910613239