]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: added some includes / libarys for HomeBrew AND QT5 compiling on MAC OSX. They...
authoriceman1001 <iceman@iuse.se>
Thu, 21 Jul 2016 15:26:17 +0000 (17:26 +0200)
committericeman1001 <iceman@iuse.se>
Thu, 21 Jul 2016 15:26:17 +0000 (17:26 +0200)
 All credit to @koalazak  [ref] https://github.com/Proxmark/proxmark3/pull/184/commits/ed1525805c940fe738fc05286ffd22e0ce3a0fbf

client/Makefile

index 8ccd1ceaeb5d8c623217c19051d06dd7b3ab1a21..616a2a7446d6cd5e4e6007922b8a37e2e0141fd2 100644 (file)
@@ -41,9 +41,16 @@ ifneq (,$(findstring MINGW,$(platform)))
        endif
        
 else ifeq ($(platform),Darwin)
+
+       # 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
-    CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O3
+       
+       # 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
+
+       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)
     LUAPLATFORM = macosx
Impressum, Datenschutz