fix implicit_pattern_rule_for_no_commands

also fix last_resort

for gyp-generated Makefile, need to support .PHONY

.PHONY: FORCE_DO_CMD
FORCE_DO_CMD:

and FORCE_DO_CMD is used in implicit rule, but the file doesn't exit and
failed in canPickImplicitRule.
3 files changed