]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/Makefile
FIX: fixes warning for "%zu" string formatspecifier on MINGW systems. (Thanks to...
[proxmark3-svn] / client / Makefile
index dc1ce801fa24b3819c380fe38b384d9f86738c2c..0053d8e583b024a1c6f28d181d87d1d2ed9d3d3d 100644 (file)
@@ -19,7 +19,7 @@ LUAPLATFORM = generic
 
 ifneq (,$(findstring MINGW,$(platform))) 
     LDLIBS +=  -L/mingw/lib -lgdi32
 
 ifneq (,$(findstring MINGW,$(platform))) 
     LDLIBS +=  -L/mingw/lib -lgdi32
-       CFLAGS +=  -I/mingw/include
+       CFLAGS +=  -I/mingw/include -D__USE_MINGW_ANSI_STDIO=1
     CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui
     MOC = $(QTDIR)/bin/moc
     LUAPLATFORM = mingw
     CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui
     MOC = $(QTDIR)/bin/moc
     LUAPLATFORM = mingw
@@ -54,11 +54,11 @@ else ifeq ($(platform),Darwin)
        ifneq (, $(findstring moc 5,$(qtplatform)))
                # use this if you have QT5 installed.
                CFLAGS += -I/usr/include/malloc/ -I/usr/local/opt/readline/include -I/usr/local/opt/qt5/include 
        ifneq (, $(findstring moc 5,$(qtplatform)))
                # use this if you have QT5 installed.
                CFLAGS += -I/usr/include/malloc/ -I/usr/local/opt/readline/include -I/usr/local/opt/qt5/include 
-               LDLIBS = -L/opt/local/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/qt5/lib -lreadline -lpthread -lm
+               LDLIBS = -L/usr/local/opt/readline/lib -L/usr/local/opt/qt5/lib -lreadline -lpthread -lm
        else
                # Assuming you have QT4 installed.
                CFLAGS += -I/usr/include/malloc/ -I/usr/local/opt/readline/include
        else
                # Assuming you have QT4 installed.
                CFLAGS += -I/usr/include/malloc/ -I/usr/local/opt/readline/include
-               LDLIBS = -L/opt/local/lib -L/usr/local/opt/readline/lib -lreadline -lpthread -lm
+               LDLIBS = -L/usr/local/opt/readline/lib -lreadline -lpthread -lm
        endif
 
     LUAPLATFORM = macosx
        endif
 
     LUAPLATFORM = macosx
@@ -142,6 +142,8 @@ CMDSRCS =   mifarehost.c \
                        cmdlfjablotron.c \
                        cmdlfvisa2000.c \
                        cmdlfnoralsy.c \
                        cmdlfjablotron.c \
                        cmdlfvisa2000.c \
                        cmdlfnoralsy.c \
+                       cmdlffdx.c \
+                       cmdlfcotag.c \
                        pm3_binlib.c \
                        scripting.c \
                        cmdscript.c \
                        pm3_binlib.c \
                        scripting.c \
                        cmdscript.c \
Impressum, Datenschutz