summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index f064e6b..dbae7fe 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,6 +2,7 @@ include ../config.mk
CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_GNU_SOURCE -I.
CFLAGS += -W -Wall -Wno-unused-parameter -Wno-unused-result -O2 -pedantic -std=c99
+LIBS += -lm
ifdef WITH_USB
CPPFLAGS += -DWITH_USB
LIBS += -lusb