mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-22 23:24:22 +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
|
||||
|
||||
ifneq ($(SKIPREVENGTEST),1)
|
||||
CLEAN += bmptst
|
||||
|
||||
$(BINDIR)/$(LIB_A): $(BINDIR)/bmptst
|
||||
|
@ -31,5 +32,6 @@ $(BINDIR)/bmptst: bmpbit.c config.h reveng.h
|
|||
$(Q)$(CC) $(CFLAGS) -DBMPTST -o $@ $<
|
||||
$(info [=] TEST $@)
|
||||
$(Q)( ./$@ && $(TOUCH) $@ ) || ( $(RM) $@ && $(FALSE) )
|
||||
endif
|
||||
|
||||
.PHONY: all clean
|
||||
|
|
Loading…
Reference in a new issue