This sounds more like make being picky about a makefile than a Perl issue... but I've seen this where a line doesn't start with whitespace, or, in the case of GNU make, a tab character.
Try editing the makefile and put a tab at the start of the line in question. Just a guess, not a definitive answer. :)