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:
1 parent
31ee47176c
commit
a31ef00105
2 files changed
+107
-107
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user