Skip to content

Commit 6ea9445

Browse files
committed
why doesn't it link with math?
1 parent b788936 commit 6ea9445

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OPTIMIZATION=-O3 -DNDEBUG -DNODEBUG
2727
DEBUG_CFLAGS:=$(CFLAGS) -O0 -DDEBUG=1 -fno-builtin $(WARNINGS) -I$(SRC_DIR) -I.
2828
# CFLAGS in production mode.
2929
CFLAGS+=$(OPTIMIZATION) $(WARNINGS) -I$(SRC_DIR) -I.
30-
LDFLAGS+=-lm
30+
LDFLAGS+= -lm
3131

3232
# Main executable
3333
PROJECT = $(BUILD_DIR)/$(NAME)
@@ -89,7 +89,7 @@ lint:
8989

9090
set_debug_flags:
9191
$(eval CFLAGS=$(DEBUG_CFLAGS))
92-
@echo "Debug mode detected. Set CFLAGS to $(CFLAGS)"
92+
@echo "(!) Debug mode detected."
9393

9494
db/%: | clean set_debug_flags % ;
9595
%/db: | clean set_debug_flags % ;

0 commit comments

Comments
 (0)