Only specify LIBS once
The $(BIN) rule already specifies this.
This commit is contained in:
parent
110ccb5814
commit
dae65c20a5
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -17,7 +17,7 @@ INCLUDES =
|
|||
LIBS = -lm
|
||||
LIBPATH =
|
||||
CFLAGS += $(COPT) -g $(INCLUDES) -Wall -Wextra -Wno-unused-function -std=c99 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=500
|
||||
LDFLAGS += $(LIBPATH) -g $(LIBS) #-Wall
|
||||
LDFLAGS += $(LIBPATH) -g
|
||||
|
||||
OBJS := $(patsubst %.$(C),%.$(OBJ),$(wildcard $(SOURCE_PATH)*.$(C)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue