From: Lady Date: Fri, 24 May 2024 03:43:06 +0000 (-0400) Subject: Set .SHELLFLAGS to match Posix behaviour X-Git-Tag: 0.9.2~2 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/b35bba8fd8d4fd778d7fe1028590c4c847c9f877?hp=72b902e1b1bc81cf835640c8847d8aabe1e2d4f4 Set .SHELLFLAGS to match Posix behaviour Early failure upon the failure of a command seems like a good thing?? --- diff --git a/GNUmakefile b/GNUmakefile index 84bbab8..ba4df95 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -233,6 +233,12 @@ VERBOSE := # The default target for this makefile. .DEFAULT_GOAL := all +# Flags for use when calling the shell. +# +# `-e` enables early exit from invocations of multiple commands after +# the first failure. +.SHELLFLAGS := -c -e + # ━ § BEGIN SHARED MAKE·FILE CONSTRUCTS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ # ─ ¶ Non‐Recipe Variable Definitions ─────────────────────────────────