mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +08:00
CHG: added some includes / libarys for HomeBrew AND QT5 compiling on MAC OSX. They are commented away, but if you need it replace the other two lines and uncomment.
All credit to @koalazak [ref] ed1525805c
This commit is contained in:
parent
81ba7ee837
commit
36e78d669c
1 changed files with 8 additions and 1 deletions
|
@ -41,9 +41,16 @@ ifneq (,$(findstring MINGW,$(platform)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else ifeq ($(platform),Darwin)
|
else ifeq ($(platform),Darwin)
|
||||||
|
|
||||||
|
# Assuming you have QT4 installed.
|
||||||
CFLAGS += -I/usr/include/malloc/ -I/usr/local/opt/readline/include
|
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
|
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)
|
QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null)
|
||||||
MOC = $(shell pkg-config --variable=moc_location QtCore)
|
MOC = $(shell pkg-config --variable=moc_location QtCore)
|
||||||
LUAPLATFORM = macosx
|
LUAPLATFORM = macosx
|
||||||
|
|
Loading…
Reference in a new issue