The command "make clean" causes this simple Makefile to go into an infinite loop, spawning process after process, if the directory m1
does not exist:
clean-1:
cd m1; make clean
clean: clean-1
I guess I'm doing something wrong with recursive make. Can anyone explain why this happens, and the best way to prevent it, just in case some user has decided they didn't need directory m1?