]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - linux/Makefile
fix a compilation issue on linux (include termcap lib)
[proxmark3-svn] / linux / Makefile
index 36c31cbe29692adfdbbb8a15d361d01c37fd6b20..9299b5cafcc08befb712cd1bd4667736f4910e31 100644 (file)
@@ -1,4 +1,4 @@
-LDFLAGS = -lusb -lreadline -lpthread -L/opt/local/lib
+LDFLAGS = -ltermcap -lusb -lreadline -lpthread -L/opt/local/lib
 CFLAGS = -I. -I/opt/local/include -Wall
 
 CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall
@@ -18,6 +18,8 @@ all: proxmark3 snooper cli flasher
 proxmark3: LDFLAGS+=$(QTLDFLAGS)
 proxmark3: proxmark3.o gui.o command.o usb.o $(QTGUI)
 
+command.o: ../winsrc/command.cpp translate.h
+
 snooper: snooper.o gui.o command.o usb.o guidummy.o
 
 cli: cli.o gui.o command.o usb.o guidummy.o
Impressum, Datenschutz