mcandre / toys

code demos for newbies
https://github.com/mcandre/toys
30 stars 6 forks source link

dedicated shell scripts for complex make commands #360

Open mcandre opened 1 year ago

mcandre commented 1 year ago

Some of the shell commands in my makefiles implicitly assume a POSIX sh parser.

In fact, BSD defaults to a csh family implementation, breaking POSIX compatibility. Backticks and related POSIX sh syntax may fail when the makefile is run on BSD, such as FreeBSD.

Ignoring COMSPEC Windows support for now. If need be, WSL can supply a workaround in Windows.