Fix warning on macOS

This commit is contained in:
Aaron Traas 2018-12-06 10:01:34 -05:00
parent 5f4df123b4
commit e3b508536d

View file

@ -15,7 +15,7 @@ INC+=$(shell pkg-config --cflags libedit)
# LLVM/Clang on macOS seems to need -ledit flag for linking # LLVM/Clang on macOS seems to need -ledit flag for linking
UNAME_S := $(shell uname -s) UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin) ifeq ($(UNAME_S),Darwin)
CCFLAGS += -ledit LIBS += -ledit
endif endif
OBJS=main.o init.o actions.o score.o misc.o saveresume.o OBJS=main.o init.o actions.o score.o misc.o saveresume.o