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