The upshot is if you care about maximum compatibility with different versions of GNU Make, don’t use .SHELLFLAGS just put all your args in-line in the SHELL variable, and make sure to always always use -c as your last argument. E.g. for bash in “strict mode” But why? I really care about the out of the box development experience on projects… Continue reading How to SHELL for Compatible Makefiles
Tag: make
Hugo Makefile
This blog is was hosted on GitHub Pages and published using Hugo. Since Go is my preferred language at the moment, Hugo seemed attractive. There are 2 Git repos for this website: Source code: github.com/fieldnotes-tech/fieldnotes.tech Rendered static site: github.com/fieldnotes-tech/fieldnotes-tech.github.io Publishing involves updating the source, and having Hugo generate the static site. To make this easier to use I’ve added a Makefile which… Continue reading Hugo Makefile