rename MINGW to OSNAME in Makefile

Rename MINGW Makefile variable (a holdover from MINGW32_NT-5.0)
to OSNAME.

Fixed some incorrect version number comments in CHANGES.
This commit is contained in:
Landon Curt Noll
2023-03-11 01:05:01 -08:00
parent 36a1a042f3
commit 616bcd8d46
2 changed files with 14 additions and 5 deletions

13
CHANGES
View File

@@ -1,4 +1,13 @@
The following are the changes from calc version 2.14.2.3 to date: The following are the changes from calc version 2.14.1.5 to date:
Fixed version numbers in two cases in CHANGES that referred
to the 2.14.2.x instead of 2.14.1.x.
Rename MINGW Makefile variable (a holdover from MINGW32_NT-5.0)
to OSNAME.
The following are the changes from calc version 2.14.1.3 to 2.14.1.4:
Fixed missing <string.h include in have_fpos_pos.c. Fixed missing <string.h include in have_fpos_pos.c.
@@ -78,7 +87,7 @@ The following are the changes from calc version 2.14.2.3 to date:
the Makefile dependency list via "make depend". the Makefile dependency list via "make depend".
The following are the changes from calc version 2.14.2.0 to 2.14.1.2: The following are the changes from calc version 2.14.1.0 to 2.14.1.2:
Attempted to address a paranoid compiler warning -Wmaybe-uninitialized Attempted to address a paranoid compiler warning -Wmaybe-uninitialized
in swap_HALF_in_ZVALUE() where the gcc compiler seems to ignore the in swap_HALF_in_ZVALUE() where the gcc compiler seems to ignore the

View File

@@ -79,8 +79,8 @@ endif
ifeq ($(hardware),) ifeq ($(hardware),)
hardware=$(shell uname -m 2>/dev/null) hardware=$(shell uname -m 2>/dev/null)
endif endif
ifeq ($(MINGW),) ifeq ($(OSNAME),)
MINGW=$(shell uname -o 2>/dev/null) OSNAME=$(shell uname -o 2>/dev/null)
endif endif
#endif /* end of skip for non-Gnu makefiles */ #endif /* end of skip for non-Gnu makefiles */
@@ -113,7 +113,7 @@ endif
# then we will also need to use the Cygwin runtime enviroment # then we will also need to use the Cygwin runtime enviroment
# and the calc Cygwin make target. # and the calc Cygwin make target.
## ##
ifeq ($(MINGW),Cygwin) ifeq ($(OSNAME),Cygwin)
target:= Cygwin target:= Cygwin
endif endif
# #