From: menshiyun Date: Sat, 24 Sep 2016 04:56:08 +0000 (+0800) Subject: test-pr X-Git-Tag: v3.0.0~80^2~2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/775c4c4a282900d14d4a612c9cb1435f8059d627 test-pr --- diff --git a/client/Makefile b/client/Makefile index cab4fddb..863f3c2c 100644 --- a/client/Makefile +++ b/client/Makefile @@ -12,7 +12,12 @@ CXX=g++ VPATH = ../common ../zlib OBJDIR = obj -LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm -ltermcap -lncurses +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 + 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