Only specify LIBS once

The $(BIN) rule already specifies this.
This commit is contained in:
Andrew Gaul 2019-10-30 20:22:54 -07:00
parent 110ccb5814
commit dae65c20a5

View file

@ -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)))