Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

Comment by HolyBlackCat on Makefile: How does a header file change trigger a target?

$
0
0
@yapkm01 Another way to think about it: Which command to use to rebuild the file is decided independently from whether to rebuild it at all. The command is taken from the $(BUILD)/%.o: %.cc pattern rule, but the decision to rebuild is based on 16.15.o: 16.15.cc include/16.15.h.

Viewing all articles
Browse latest Browse all 1287

Trending Articles