Merge pull request #1331 from Guilhem7/master
[RRG-proxmark3.git] / tools / mfkey / Makefile
blobfd69207a77ae432b8bce4c33513b5b304adeea9d
1 MYSRCPATHS = ../../common ../../common/crapto1
2 MYSRCS = crypto1.c crapto1.c bucketsort.c
3 MYINCLUDES = -I../../include -I../../common
4 MYCFLAGS =
5 MYDEFS =
7 BINS = mfkey32 mfkey32v2 mfkey64
8 INSTALLTOOLS = $(BINS)
10 include ../../Makefile.host
12 # checking platform can be done only after Makefile.host
13 ifneq (,$(findstring MINGW,$(platform)))
14 # Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
15 # and setting _ISOC99_SOURCE sets internally __USE_MINGW_ANSI_STDIO=1
16 CFLAGS += -D_ISOC99_SOURCE
17 endif
19 mfkey32 : $(OBJDIR)/mfkey32.o $(MYOBJS)
20 mfkey32v2 : $(OBJDIR)/mfkey32v2.o $(MYOBJS)
21 mfkey64 : $(OBJDIR)/mfkey64.o $(MYOBJS)