added more keys (@equipter)
[RRG-proxmark3.git] / tools / hitag2crack / crack3 / Makefile
blob010b6151cda34d1afa84af27d0b0a069bf2d2cd0
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 = ht2crack3 ht2crack3test
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 ht2crack3 : $(OBJDIR)/ht2crack3.o $(MYOBJS)
21 ht2crack3test : $(OBJDIR)/ht2crack3test.o $(MYOBJS)