Can not comprehend this circular dependency in Makefile
Here is a simple Makefile that generates a circular dependency: test.cr <- test.cr.c test: test.cr.c cp test.cr.c test test.cr.c: test.cr cp test.cr test.cr.c Why does GNU make consider this a circular dependency? How can I avoid it? >Solution : You can use make -d to see make’s thinking. In this rule: test.cr.c: test.cr cp test.cr… Read More Can not comprehend this circular dependency in Makefile