You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 2 Current »
This is how we can do it:
OBJS := $(subst .cpp,.o,$(SRCS))
This example swaps out *.cpp with *.o.