]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/Makefile
Fix some #defines
[proxmark3-svn] / client / Makefile
index 5aa86148ff9353ea6e1dcf721b3566a2615e5239..c1ff5ee37125899f55fd61ce0e87469d256b4ff4 100644 (file)
@@ -15,11 +15,10 @@ OBJDIR = obj
 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
+CFLAGS = -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O4
 LUAPLATFORM = generic
 
 ifneq (,$(findstring MINGW,$(platform)))
-    CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
     CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui
     MOC = $(QTDIR)/bin/moc
     LUAPLATFORM = mingw
@@ -67,6 +66,7 @@ CMDSRCS =     nonce2key/crapto1.c\
                        loclass/ikeys.c \
                        loclass/elite_crack.c\
                        loclass/fileutils.c\
+                       whereami.c\
                        mifarehost.c\
                        crc.c \
                        crc16.c \
@@ -103,6 +103,7 @@ CMDSRCS =   nonce2key/crapto1.c\
                        cmdlfviking.c\
                        cmdlfpresco.c\
                        cmdlfpyramid.c\
+                       cmdlfcotag.c\
                        pm3_binlib.c\
                        scripting.c\
                        cmdscript.c\
Impressum, Datenschutz