Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Those makefiles wouldn't have to be as complex if automake only targeted GNU make. A lot of the messiness is there to support conditionals.


That's because conditionals are implicit in the underlying selection of targets. Trying to force explicit conditionals into the language gets cumbersome and ugly. You don't see explicit 'if's in Prolog, either.


I disagree. Writing multiplatform makefiles without explicit conditionals is cumbersome and ugly, mainly because the problem space contains so many exceptions. In this case, purism isn't really practical.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: