]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
test-pr
authormenshiyun <men_shiyun@qq.com>
Sat, 24 Sep 2016 04:56:08 +0000 (12:56 +0800)
committermenshiyun <men_shiyun@qq.com>
Sat, 24 Sep 2016 04:56:08 +0000 (12:56 +0800)
client/Makefile

index cab4fddbb229d4852a43768ea5e985f655229a1c..863f3c2c7eefffa1cf9ed1b74a5698cf8649bcd5 100644 (file)
@@ -12,7 +12,12 @@ CXX=g++
 VPATH = ../common ../zlib
 OBJDIR = obj
 
 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
 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
Impressum, Datenschutz