X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/30a46ed86a7c531b5d2601d6ef74c717b28c330d..450d2e3a96aeff74dfd7bf42f6ab3870f8235c50:/client/Makefile?ds=sidebyside diff --git a/client/Makefile b/client/Makefile index 0ce06975..3967360a 100644 --- a/client/Makefile +++ b/client/Makefile @@ -27,10 +27,15 @@ else ifeq ($(platform),Darwin) CXXFLAGS = -I/Library/Frameworks/QtGui.framework/Versions/Current/Headers -I/Library/Frameworks/QtCore.framework/Versions/Current/Headers QTLDLIBS = -framework QtGui -framework QtCore MOC = moc +LUAPLATFORM = macosx else CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O4 QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null) MOC = $(shell pkg-config --variable=moc_location QtCore) +LDLIBS += -ldl + +# Below is a variant you can use if you have problems compiling with QT5 on ubuntu. see http://www.proxmark.org/forum/viewtopic.php?id=1661 for more info. +#MOC = /usr/lib/x86_64-linux-gnu/qt4/bin/moc LUAPLATFORM = linux endif @@ -45,7 +50,8 @@ endif CORESRCS = uart.c \ util.c \ - sleep.c \ + sleep.c + CMDSRCS = nonce2key/crapto1.c\ nonce2key/crypto1.c\ @@ -118,6 +124,7 @@ proxguiqt.moc.cpp: proxguiqt.h clean: $(RM) $(CLEAN) + cd ../liblua && make clean tarbin: $(BINS) $(TAR) $(TARFLAGS) ../proxmark3-$(platform)-bin.tar $(BINS:%=client/%)