Can someone more experience with #makefiles than me please take a look at https://github.com/richfelker/musl-cross-make/blob/master/Makefile and tell me if it's possible to have a download-only step? (How?) - currently many rebuilds in Docker appear to download all the sources all over again, no matter what cache mount I try.
Such a great article “Makefile tricks for Python projects” - rand[om] #development #Makefiles #python https://ricardoanderegg.com/posts/makefile-python-project-tricks/
#development #makefiles #python
#clang's scan-build is really awesome for simple to setup #StaticAnalysis, all you need is a compile-commands.json which is easily generated by #Meson or #CMake but also with classic #Makefiles when using bear(1). Then, just point it to the JSON and run a new build. Output is on the console as well as an HTML with a nice taint analysis which branches need to be taken for what to happen. Trade off benefit/time is real good
#clang #staticanalysis #meson #cmake #makefiles
I've been essentially nerd-sniped the last couple nights. Yesterday I couldn't stop reading the docs for GNU Make, and tonight I'm checking out Earthly. Just so interesting.
#earthly #makefiles #devops #programming
Okay, finally managed to look into why my #Makefiles fail with #GNU Make 4.4, what I was doing there in the first place and how to fix it
The actual change is pretty small: https://github.com/xoreos/xoreos-tools/commit/168e3114bed2faf70f06da5cdd7bac4db44a0d39
#floss #buildsystem #build #gnumake #gnu #makefiles
Oh I will so try this out:
Polyglot Makefiles
I like how this guy explained #Makefiles with an example based on clothes:
https://matthias-endler.de/2017/makefiles/