]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/Makefile
CHG: `data plot`- the marking of clock, looks better without borders. It only connec...
[proxmark3-svn] / client / Makefile
index 72552fd1e00d7d63f38940bab3c3bfbb3205f58d..3c7a33fdd6c69ddd5da86c0c1a37ff03972fa6d8 100644 (file)
@@ -7,7 +7,7 @@ include ../common/Makefile.common
 
 CC = gcc
 CXX = g++
-COMMON_FLAGS = -std=c99 -O3 -mpopcnt -march=native -g
+COMMON_FLAGS += -std=c99 -O3 -mpopcnt -march=native -g
 
 #VPATH = ../common ../zlib
 OBJDIR = obj
@@ -97,6 +97,7 @@ CMDSRCS =     mifarehost.c \
                        loclass/ikeys.c \
                        loclass/elite_crack.c \
                        loclass/fileutils.c \
+                       whereami.c \
                        parity.c \
                        crc.c \
                        crc16.c \
@@ -191,8 +192,9 @@ proxmark3: $(OBJDIR)/proxmark3.o $(COREOBJS) $(CMDOBJS) $(QTGUI)
 snooper: $(OBJDIR)/snooper.o $(COREOBJS) $(CMDOBJS) $(OBJDIR)/guidummy.o
        $(CXX) $(CXXFLAGS) $^ $(LDLIBS) -o $@
 
+cli: LDLIBS+=$(LUALIB)
 cli: $(OBJDIR)/cli.o $(COREOBJS) $(CMDOBJS) $(OBJDIR)/guidummy.o
-       $(CXX) $(CXXFLAGS) $^ $(LDLIBS) -o $@
+       $(CXX) $(CXXFLAGS) -lpthread  $^ $(LDLIBS) -o $@
 
 flasher: $(OBJDIR)/flash.o $(OBJDIR)/flasher.o $(COREOBJS)
        $(CXX) $(CXXFLAGS) $^ $(LDLIBS) -o $@
Impressum, Datenschutz