Reverted makefile detection to use file name, not "--dry-run"