proxmark3/client/deps/reveng/Makefile
2020-04-24 16:43:21 +02:00

35 lines
772 B
Makefile

# reveng will compile without macros, but these may be useful:
# Add -DBMPMACRO to use bitmap size constant macros (edit config.h)
# Add -DNOFORCE to disable the -F switch
# Add -DPRESETS to compile with preset models (edit config.h)
MYSRCPATHS =
MYINCLUDES = -I../cliparser
MYCFLAGS =
MYDEFS = -DPRESETS
MYSRCS = \
bmpbit.c \
cli.c \
model.c \
poly.c \
preset.c \
reveng.c
LIB_A = libreveng.a
# Transition: remove old directories and objects
MYCLEANOLDPATH = ../../reveng
include ../../../Makefile.host
CLEAN += bmptst
$(BINDIR)/$(LIB_A): $(BINDIR)/bmptst
$(BINDIR)/bmptst: bmpbit.c config.h reveng.h
$(info [-] CC $<)
$(Q)$(CC) $(CFLAGS) -DBMPTST -o $@ $<
$(info [=] TEST $@)
$(Q)( ./$@ && $(TOUCH) $@ ) || ( $(RM) $@ && $(FALSE) )
.PHONY: all clean