Makefile文件  |  14行  |  126 B

test: foo

foo: foo.o
	echo link foo

%.o: %.c
	echo compile from $< to $@

foo.c: genc
	echo generate $@

.PHONY: genc
genc: