added more keys (@equipter)
[RRG-proxmark3.git] / tools / hitag2crack / crack2 / Makefile
blobe8dbc4bacb272ac48642df6277817a0c2c407439
1 MYSRCPATHS = ../common
2 MYSRCS = ht2crackutils.c hitagcrypto.c
3 MYINCLUDES =-I ../common
4 MYCFLAGS = -D_GNU_SOURCE
5 MYDEFS =
6 MYLDLIBS = -lpthread
8 BINS = ht2crack2buildtable ht2crack2search ht2crack2gentest
9 INSTALLTOOLS = $(BINS)
11 include ../../../Makefile.host
13 # checking platform can be done only after Makefile.host
14 ifneq (,$(findstring MINGW,$(platform)))
15 # Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
16 # and setting _ISOC99_SOURCE sets internally __USE_MINGW_ANSI_STDIO=1
17 CFLAGS += -D_ISOC99_SOURCE
18 endif
20 ht2crack2buildtable : $(OBJDIR)/ht2crack2buildtable.o $(MYOBJS)
21 ht2crack2search : $(OBJDIR)/ht2crack2search.o $(MYOBJS)
22 ht2crack2gentest : $(OBJDIR)/ht2crack2gentest.o $(MYOBJS)