Closed ScoreUnder closed 2 years ago
No, FULL_SRC
should be expanded before the suffixes are changed. That's definitely wrong.
I'm still considering what else might be wrong...
OK, I've rearranged the sequence of events when macros are expanded. Your makefile should now give the expected result.
The fix is working for me, thanks
Makefile
It doesn't seem to be able to perform substitutions in positions where text has been inserted with a variable substitution. Or in other words, the
.c=.o
operation can't "see inside" the included variables likeBACKEND_SRC
.