CHG: added some comments when changing the HAS_512_FLASH macro directive.

CHG: 'make cli'  -  needs lualibs to compile.  well,  and more stuff ofcourse.
This commit is contained in:
iceman1001 2017-02-20 11:47:10 +01:00
parent 17a9ca0cdc
commit 19d9376c16
2 changed files with 9 additions and 3 deletions

View file

@ -191,8 +191,9 @@ proxmark3: $(OBJDIR)/proxmark3.o $(COREOBJS) $(CMDOBJS) $(QTGUI)
snooper: $(OBJDIR)/snooper.o $(COREOBJS) $(CMDOBJS) $(OBJDIR)/guidummy.o snooper: $(OBJDIR)/snooper.o $(COREOBJS) $(CMDOBJS) $(OBJDIR)/guidummy.o
$(CXX) $(CXXFLAGS) $^ $(LDLIBS) -o $@ $(CXX) $(CXXFLAGS) $^ $(LDLIBS) -o $@
cli: LDLIBS+=$(LUALIB)
cli: $(OBJDIR)/cli.o $(COREOBJS) $(CMDOBJS) $(OBJDIR)/guidummy.o 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) flasher: $(OBJDIR)/flash.o $(OBJDIR)/flasher.o $(COREOBJS)
$(CXX) $(CXXFLAGS) $^ $(LDLIBS) -o $@ $(CXX) $(CXXFLAGS) $^ $(LDLIBS) -o $@

View file

@ -59,10 +59,15 @@ DETECTED_OS=Windows
endif endif
#uncomment to enable EMV #
# uncomment these two; to enable EMV
#
#APP_CFLAGS += -DWITH_EMV #APP_CFLAGS += -DWITH_EMV
#COMMON_FLAGS += -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 APP_CFLAGS += -DHAS_512_FLASH
COMMON_FLAGS += -DHAS_512_FLASH COMMON_FLAGS += -DHAS_512_FLASH