mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-19 06:30:36 -07:00
21 lines
539 B
Makefile
21 lines
539 B
Makefile
MYSRCPATHS = ../common
|
|
MYSRCS = ht2crackutils.c hitagcrypto.c
|
|
MYINCLUDES =-I ../common
|
|
MYCFLAGS =
|
|
MYDEFS =
|
|
MYLDLIBS = -lpthread
|
|
|
|
BINS = ht2crack5
|
|
INSTALLTOOLS = $(BINS)
|
|
|
|
include ../../../Makefile.host
|
|
|
|
# checking platform can be done only after Makefile.host
|
|
ifneq (,$(findstring MINGW,$(platform)))
|
|
# Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
|
|
# and setting _ISOC99_SOURCE sets internally __USE_MINGW_ANSI_STDIO=1
|
|
CFLAGS += -D_ISOC99_SOURCE
|
|
endif
|
|
|
|
ht2crack5 : $(OBJDIR)/ht2crack5.o $(MYOBJS)
|