Skip to content

Commit dae65c2

Browse files
committed
Only specify LIBS once
The $(BIN) rule already specifies this.
1 parent 110ccb5 commit dae65c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ INCLUDES =
1717
LIBS = -lm
1818
LIBPATH =
1919
CFLAGS += $(COPT) -g $(INCLUDES) -Wall -Wextra -Wno-unused-function -std=c99 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=500
20-
LDFLAGS += $(LIBPATH) -g $(LIBS) #-Wall
20+
LDFLAGS += $(LIBPATH) -g
2121

2222
OBJS := $(patsubst %.$(C),%.$(OBJ),$(wildcard $(SOURCE_PATH)*.$(C)))
2323

0 commit comments

Comments
 (0)