Given the line:
program_OBJS := ${program_SRCS:.cpp=.o}
I would like to append .o
to each filename instead of replacing .cpp
with .o
.
How do I do that?
GNU make has addsuffix function
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With