1sources := foo.c bar.c baz.s ugh.h
2
3test:
4	echo cc $(filter %.c %.s,$(sources)) -o foo
5