/
make string substitution
make string substitution
This is how we can do it:
OBJS := $(subst .cpp,.o,$(SRCS))
This example swaps out *.cpp with *.o.
This is how we can do it:
OBJS := $(subst .cpp,.o,$(SRCS))
This example swaps out *.cpp with *.o.