I have Makefile2 of context below
test_0.o: %.o: %.cpp
cp $< $@
In my current working dir, I have a file called test_1.cpp.
Then when I type command
make -f Makefile2 test_1.o
It shows the command being executed is
g++ -c -o test_1.o test_1.cpp
This is a bit strange. It shall be that there is no such rule test_1.o. Is this some known issue for makefile?