From: Aaron Traas Date: Thu, 6 Dec 2018 15:01:34 +0000 (-0500) Subject: Fix warning on macOS X-Git-Tag: 1.8~31 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=e3b508536d825ffd795b1b25abebc3ae8b800078;p=open-adventure.git Fix warning on macOS --- diff --git a/Makefile b/Makefile index d196a56..546ba81 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ INC+=$(shell pkg-config --cflags libedit) # LLVM/Clang on macOS seems to need -ledit flag for linking UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Darwin) - CCFLAGS += -ledit + LIBS += -ledit endif OBJS=main.o init.o actions.o score.o misc.o saveresume.o