proxmark3/client/deps/reveng/Makefile

36 lines
772 B
Makefile
Raw Normal View History

2019-08-17 03:33:01 +08:00
# 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 =
2020-04-19 19:13:13 +08:00
MYINCLUDES = -I../cliparser
2020-04-20 04:55:28 +08:00
MYCFLAGS =
2019-08-17 03:33:01 +08:00
MYDEFS = -DPRESETS
MYSRCS = \
bmpbit.c \
cli.c \
model.c \
poly.c \
preset.c \
reveng.c
LIB_A = libreveng.a
2020-04-21 07:44:31 +08:00
# Transition: remove old directories and objects
MYCLEANOLDPATH = ../../reveng
2020-04-16 16:25:29 +08:00
include ../../../Makefile.host
2019-08-17 03:33:01 +08:00
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