endif
else ifeq ($(platform),Darwin)
- LDLIBS -= -L/usr/local/lib
+ LDLIBS = -L/opt/local/lib -lreadline -lpthread -lm
CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O3
QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null)
MOC = $(shell pkg-config --variable=moc_location QtCore)
cmdlfem4x.c \
cmdlfhitag.c \
cmdlfti.c \
- cmdlfviking.c\
cmdparser.c \
cmdmain.c \
cmdlft55xx.c \
cmdlfpcf7931.c\
+ cmdlfviking.c\
+ cmdlfpresco.c\
+ cmdlfpyramid.c\
+ cmdlfguard.c\
pm3_binlib.c\
scripting.c\
cmdscript.c\
sha1.c\
sha256.c\
cmdcrc.c\
+ reveng/preset.c\
reveng/reveng.c\
reveng/cli.c\
reveng/bmpbit.c\
tea.c\
prng.c\
radixsort.c\
- bucketsort.c\
- cmdlfpresco.c
-
+ bucketsort.c
ZLIBSRCS = deflate.c adler32.c trees.c zutil.c inflate.c inffast.c inftrees.c
ZLIB_FLAGS = -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED
#-DDEBUG -Dverbose=1