Skip to content

Makefile: Why link with libm.so ? #27

Closed
thomas opened this issue Jun 29, 2021 · 1 comment
Closed

Makefile: Why link with libm.so ? #27

thomas opened this issue Jun 29, 2021 · 1 comment

Comments

@thomas
Copy link
Contributor

thomas commented Jun 29, 2021

No #include <math.h> to be found in the sources, so what's the -lm for?

By the way, isn't the Makefile not a little bit over the top?

This one would suffice (IMHO):

xdu: xdu.c xwin.c
	gcc -Wall -O2 xdu.c xwin.c -lXaw3d -lXt -lX11 -o xdu
thomas added a commit that referenced this issue Jul 9, 2021
No 'higher' math is used in the sources.
(closes github issue #27)
@thomas
Copy link
Contributor Author

thomas commented Jul 9, 2021

c6a4164 closes this one.

@thomas thomas closed this as completed Jul 9, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant