hf mf fchk - output style
[RRG-proxmark3.git] / tools / mf_nonce_brute / Makefile
blob17ae04ddce2e70c5999f941d5f4ff1bfa04c4955
1 MYSRCPATHS = ../../common ../../common/crapto1
2 MYSRCS = crypto1.c crapto1.c bucketsort.c iso14443crc.c sleep.c util_posix.c
3 MYINCLUDES = -I../../include -I../../common
4 MYCFLAGS =
5 MYDEFS =
6 MYLDLIBS =
7 ifneq ($(SKIPPTHREAD),1)
8 MYLDLIBS += -lpthread
9 endif
11 BINS = mf_nonce_brute mf_trace_brute
12 INSTALLTOOLS = $(BINS)
14 include ../../Makefile.host
16 # checking platform can be done only after Makefile.host
17 ifneq (,$(findstring MINGW,$(platform)))
18 # Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
19 # and setting _ISOC99_SOURCE sets internally __USE_MINGW_ANSI_STDIO=1
20 CFLAGS += -D_ISOC99_SOURCE
21 endif
23 mf_nonce_brute : $(OBJDIR)/mf_nonce_brute.o $(MYOBJS)
25 mf_trace_brute : $(OBJDIR)/mf_trace_brute.o $(MYOBJS)