From: menshiyun Date: Sun, 25 Sep 2016 06:26:11 +0000 (+0800) Subject: fix client/Makefile X-Git-Tag: v3.0.0~80^2~1 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/94e27a096143b68c4ec00b8cb2216f00811f48ab fix client/Makefile --- diff --git a/client/Makefile b/client/Makefile index 863f3c2c..c704c6ba 100644 --- a/client/Makefile +++ b/client/Makefile @@ -12,12 +12,7 @@ CXX=g++ VPATH = ../common ../zlib OBJDIR = obj -ifneq (,$(findstring MINGW,$(platform))) - LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm -else - LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm -ltermcap -lncurses -endif - +LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm LUALIB = ../liblua/liblua.a LDFLAGS = $(COMMON_FLAGS) CFLAGS = -std=c99 -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O4 @@ -39,6 +34,7 @@ else ifeq ($(platform),Darwin) MOC = $(shell pkg-config --variable=moc_location QtCore) LUAPLATFORM = macosx else + LDLIBS += -ltermcap -lncurses CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O4 QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null) LUALIB += -ldl