2 MYSRCS
= ht2crackutils.c hitagcrypto.c
3 MYINCLUDES
=-I ..
/common
4 MYCFLAGS
= -D_GNU_SOURCE
8 BINS
= ht2crack2buildtable ht2crack2search ht2crack2gentest
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
20 ht2crack2buildtable
: $(OBJDIR
)/ht2crack2buildtable.o
$(MYOBJS
)
21 ht2crack2search
: $(OBJDIR
)/ht2crack2search.o
$(MYOBJS
)
22 ht2crack2gentest
: $(OBJDIR
)/ht2crack2gentest.o
$(MYOBJS
)