Add -lm to Makefile in 1998/banks

Some systems need it to link in libm. Fedora comes to mind as an
example; macOS has no problem with it though running this entry under
macOS is another matter entirely.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-21 10:52:21 -07:00
1 parent 31ee47176c
commit a31ef00105
2 files changed
+107 -107

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
#
#LIBS=
#LIBS= -lm
LIBS= -L ${X11_LIBDIR} -lX11
LIBS= -L ${X11_LIBDIR} -lX11 -lm
#LIBS= -L ${HOMEBREW_PREFIX}/lib -lSDL
# C compiler to use