mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-15 14:20:51 +08:00
f7f33f2732
This reverts commit 0665b3f40a
.
19 lines
561 B
Makefile
19 lines
561 B
Makefile
MYSRCPATHS = ../../common ../../common/crapto1
|
|
MYSRCS = crypto1.c crapto1.c bucketsort.c
|
|
MYINCLUDES = -I../../include -I../../common
|
|
MYCFLAGS =
|
|
MYDEFS =
|
|
|
|
BINS = nonce2key
|
|
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
|
|
|
|
nonce2key : $(OBJDIR)/nonce2key.o $(MYOBJS)
|