Merge pull request #2672 from kitsunehunter/laundry-keys
[RRG-proxmark3.git] / client / deps / reveng / Makefile
blobd0382771d4c900fe8fdd0976c9bd233901aec541
1 # reveng will compile without macros, but these may be useful:
2 # Add -DBMPMACRO to use bitmap size constant macros (edit config.h)
3 # Add -DNOFORCE to disable the -F switch
4 # Add -DPRESETS to compile with preset models (edit config.h)
6 MYSRCPATHS =
7 MYINCLUDES = -I../cliparser -I../../src -I../../../include
8 MYCFLAGS =
9 MYDEFS = -DPRESETS
10 MYSRCS = \
11 bmpbit.c \
12 cli.c \
13 model.c \
14 poly.c \
15 preset.c \
16 reveng.c
18 LIB_A = libreveng.a
20 # Transition: remove old directories and objects
21 MYCLEANOLDPATH = ../../reveng
23 include ../../../Makefile.host
25 ifneq ($(SKIPREVENGTEST),1)
26 CLEAN += bmptst
28 $(BINDIR)/$(LIB_A): $(BINDIR)/bmptst
30 $(BINDIR)/bmptst: bmpbit.c config.h reveng.h
31 $(info [-] CC $<)
32 $(Q)$(CC) $(CFLAGS) -DBMPTST -o $@ $<
33 $(info [=] TEST $@)
34 $(Q)( ./$@ && $(TOUCH) $@ ) || ( $(RM) $@ && $(FALSE) )
35 endif
37 .PHONY: all clean