Makefile文件  |  16行  |  129 B

test: foo.x

test2: all

.PHONY: FORCE
FORCE:

all: foo.y
	echo $@ from $<

%.y: %.x FORCE
	echo $@ from $<

foo.x:
	touch foo.x