subst: replace string in Makefile

1
2
3
4
5
6
TARGETS =    111.cpp 222.cpp 333.cpp
OTARGETS= $(subst cpp,o,$(TARGETS))
LTARGETS= $(subst cpp,lo,$(TARGETS))
%.o: %.cpp
g++ -c -o $@ $<
all: objs libs

subst: replace string in Makefile
https://martinbj2008.github.io/2007/06/22/2013-06-22-subst/
Author
Martinbj2008
Posted on
June 22, 2007
Licensed under