]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/Makefile
test-pr
[proxmark3-svn] / client / Makefile
index cab4fddbb229d4852a43768ea5e985f655229a1c..863f3c2c7eefffa1cf9ed1b74a5698cf8649bcd5 100644 (file)
@@ -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
Impressum, Datenschutz