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)))
loclass/ikeys.c \
loclass/elite_crack.c\
loclass/fileutils.c\
+ whereami.c\
mifarehost.c\
crc.c \
crc16.c \
cmdlfviking.c\
cmdlfpresco.c\
cmdlfpyramid.c\
+ cmdlfcotag.c\
pm3_binlib.c\
scripting.c\
cmdscript.c\