Add the .POSIX special target to the main makefiles to hint to the make impl that it should behave POSIXly-correct. Fix the default file extension for static libs in main.mk.

FossilOrigin-Name: 2c615d3a3206536f12c0723b8997bda9ab61f95a468f77697856213b46c0135e
This commit is contained in:
stephan
2024-10-31 07:20:22 +00:00
parent cf758d23cd
commit 07cdceed8e
4 changed files with 15 additions and 31 deletions
+3 -1
View File
@@ -18,6 +18,8 @@
# invoked. This file will use defaults, very possibly invalid, for any
# which are not defined.
########################################################################
.POSIX: #maintenance reminder: X:=Y is not POSIX-portable
all:
#
# $(TOP) =
#
@@ -71,7 +73,7 @@ B.exe ?=
# The DLL resp. static library counterparts of $(B.exe).
#
B.dll ?= .so
B.lib ?= .lib
B.lib ?= .a
#
# $(T.exe) =
#