Makefile: how to write conditional in the target implementation script