4 ms·
> I've long wanted to make something similar to Make but simply with better syntax... If you haven't, I'd suggest having a look at pmake (sometimes packaged as
by cat199 6y ago
> I've long wanted to make something similar to Make but simply with better syntax...
If you haven't, I'd suggest having a look at pmake (sometimes packaged as 'bmake' since it is the base 'make' implementation on BSDs) - the core 'make' portions are still the same (like gmake extends core 'make' as well), but the more script-like 'dynamic' parts are much nicer than gnumake in my opinion. It also supports the notion of 'makefile libraries' which are directories containing make snippets which can be #include's into other client projects.
freebsd examples:
manual: https://www.freebsd.org/cgi/man.cgi?query=make&apropos=0&sektion=0&manpath=FreeBSD+12.2-RELEASE+and+Ports&arch=default&format=html https://www.freebsd.org/cgi/man.cgi?query=make&apropos=0&sek...
makefile library used by the system to build itself (good examples): https://cgit.freebsd.org/src/tree/share/mk https://cgit.freebsd.org/src/tree/share/mk
- dataflow 6y agoLooks interesting, thanks for sharing!