I have Makefile under a directory and directory has many .pm ( perl files ) I want to add makefile at this directory level which does perl file syntax checking. Basically I want to add:
perl -c <filename>
How to get list of files automatically in that directory without hardcoding.