mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-23 15:47:42 +08:00
reveng Makefile: allow to skip test (e.g. for cross-compilation)
This commit is contained in:
parent
40c596e8af
commit
f158f347e5
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ MYCLEANOLDPATH = ../../reveng
|
||||||
|
|
||||||
include ../../../Makefile.host
|
include ../../../Makefile.host
|
||||||
|
|
||||||
|
ifneq ($(SKIPREVENGTEST),1)
|
||||||
CLEAN += bmptst
|
CLEAN += bmptst
|
||||||
|
|
||||||
$(BINDIR)/$(LIB_A): $(BINDIR)/bmptst
|
$(BINDIR)/$(LIB_A): $(BINDIR)/bmptst
|
||||||
|
@ -31,5 +32,6 @@ $(BINDIR)/bmptst: bmpbit.c config.h reveng.h
|
||||||
$(Q)$(CC) $(CFLAGS) -DBMPTST -o $@ $<
|
$(Q)$(CC) $(CFLAGS) -DBMPTST -o $@ $<
|
||||||
$(info [=] TEST $@)
|
$(info [=] TEST $@)
|
||||||
$(Q)( ./$@ && $(TOUCH) $@ ) || ( $(RM) $@ && $(FALSE) )
|
$(Q)( ./$@ && $(TOUCH) $@ ) || ( $(RM) $@ && $(FALSE) )
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
|
Loading…
Reference in a new issue