$ cat Makefile all: doit.pl doit2.pl for pl in $^ ;\ do \ perl -c $$pl ;\ done