$ cat Makefile all: doit.pl doit2.pl for pl in $^ ;\ do \ perl -c $$pl ;\ done [download]
In reply to Re: checking syntax on multiple files by blue_cowdawg in thread checking syntax on multiple files by xorl