Add -lm to 2018/hou/Makefile
Not all systems implicitly link in libm so this is necessary for those systems.
This commit is contained in:
1 parent
8e1112bea0
commit
8e618941fc
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -73,7 +73,7 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
|
||||
|
||||
# Libraries needed to build
|
||||
#
|
||||
LIBS=
|
||||
LIBS= -lm
|
||||
|
||||
# C compiler to use
|
||||
#
|
||||
|
||||
@@ -1319,6 +1319,12 @@ He also added explicit linking of libm (`-lm`) for systems that do not do this
|
||||
Cody added explicit linking of libm (`-lm`) for systems that do not do this
|
||||
(linux doesn't seem to but macOS does).
|
||||
|
||||
## [2018/hou](2018/hou/prog.c) ([README.md](2018/hou/README.md))
|
||||
|
||||
Cody added explicit linking of libm (`-lm`) for systems that do not do this
|
||||
(linux doesn't seem to but macOS does).
|
||||
|
||||
|
||||
|
||||
## [2019/ciura](2019/ciura/prog.c) ([README.md](2019/ciura/README.md]))
|
||||
|
||||
|
||||
Reference in new issue
Block a user