Add -lm to 2005/jetro/Makefile

Not all systems implicitly link in libm so this is necessary for those
systems.
This commit is contained in:
Cody Boone Ferguson committed 2023-07-06 10:56:24 -07:00
1 parent 98a9acf798
commit 85a15c683c
2 files changed
+9 -4

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
# Libraries needed to build
#
LIBS= `${SDL2_CONFIG} --libs`
LIBS= `${SDL2_CONFIG} --libs` -lm
# C compiler to use
#
+8 -3
View File
@@ -1155,12 +1155,17 @@ for the self-test feature.
For much more details on the problem see [bugs.md](/bugs.md).
## [2005/jetro](2005/jetro/jetro.c) ([README.md](2005/jetro/README.md))
Cody added explicit linking of libm (`-lm`) for systems like linux that seem to
not do it implicitly (like macOS does).
## [2005/mynx](2005/mynx/mynx.c) ([README.md](2005/mynx/README.md]))
Cody fixed this so that the
[configure](source/configure) script (which is not needed but part of the entry)
would work with compilers that have by default `-Werror` like clang in macOS.
Cody fixed this so that the [configure](source/configure) script (which is not
needed but part of the entry) would work with compilers that have by default
`-Werror` like clang in macOS.
Cody also added the alt code which does scan for https. Futile, maybe, based on
how https is set up, in which case just enjoy it for what it was. But there