build.pl or makefile?
with bash if else
Merge pull request #4 from Cepnoy/master

with bash if else