mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-02-26 00:25:24 +08:00
Merge pull request #197 from menshiyun/test-pr
minor fix in client/makefile extra option to LDLIBS is not needed for mingw env as of now. Might be in the future.
This commit is contained in:
commit
fcfd0cbc4e
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,7 @@ CXX=g++
|
||||||
VPATH = ../common ../zlib
|
VPATH = ../common ../zlib
|
||||||
OBJDIR = obj
|
OBJDIR = obj
|
||||||
|
|
||||||
LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm -ltermcap -lncurses
|
LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm
|
||||||
LUALIB = ../liblua/liblua.a
|
LUALIB = ../liblua/liblua.a
|
||||||
LDFLAGS = $(COMMON_FLAGS)
|
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 -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O4
|
||||||
|
@ -37,6 +37,7 @@ else
|
||||||
CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O4
|
CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O4
|
||||||
QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null)
|
QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null)
|
||||||
LUALIB += -ldl
|
LUALIB += -ldl
|
||||||
|
LDLIBS += -ltermcap -lncurses
|
||||||
MOC = $(shell pkg-config --variable=moc_location QtCore)
|
MOC = $(shell pkg-config --variable=moc_location QtCore)
|
||||||
# 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.
|
# 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
|
#MOC = /usr/lib/x86_64-linux-gnu/qt4/bin/moc
|
||||||
|
|
Loading…
Reference in a new issue