summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2a46725..208cc9f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,8 @@ TEST_DIR ?= ./test
LIB_DIR ?= ./lib
BUILD_DIR ?= ./build
-CFLAGS := -Wall
-CFLAGS_TEST := -Isrc -Ithird_party -Llib -lmunit
+CFLAGS := -Wall -lm
+CFLAGS_TEST := -Isrc -Ithird_party -Llib -lmunit
SRCS := $(wildcard $(SOURCE_DIR)/*.c)
SRCS_TEST := $(wildcard $(TEST_DIR)/*.c)
OBJS := $(patsubst $(SOURCE_DIR)/%.c, $(BUILD_DIR)/%.o, $(SRCS))