diff --git a/client/Makefile b/client/Makefile index 26ecb962e..7e002488b 100644 --- a/client/Makefile +++ b/client/Makefile @@ -191,8 +191,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 $@ diff --git a/common/Makefile.common b/common/Makefile.common index 3da346030..a13e32dd2 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -59,10 +59,15 @@ DETECTED_OS=Windows endif -#uncomment to enable EMV +# +# uncomment these two; to enable EMV +# #APP_CFLAGS += -DWITH_EMV #COMMON_FLAGS += -DWITH_EMV -#uncomment to fix 256 vs 512kb Devices +# +# uncomment these two; to fix 256 vs 512kb PM3 devices +# flashing bootrom -b is needed +# APP_CFLAGS += -DHAS_512_FLASH COMMON_FLAGS += -DHAS_512_FLASH