1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
test: foo.x test2: all .PHONY: FORCE FORCE: all: foo.y echo $@ from $< %.y: %.x FORCE echo $@ from $< foo.x: touch foo.x