mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
compile for optimized speed execution
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
MYSRCPATHS = ../../common ../../common/cryptorf
|
||||
MYSRCS = cryptolib.c util.c
|
||||
MYINCLUDES = -I../../common/cryptorf
|
||||
MYCFLAGS =
|
||||
MYCFLAGS = -O3
|
||||
MYDEFS =
|
||||
|
||||
# build artifacts
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
MYSRCPATHS = ../../common ../../common/crapto1
|
||||
MYSRCS = crypto1.c crapto1.c bucketsort.c iso14443crc.c sleep.c util_posix.c
|
||||
MYINCLUDES = -I../../include -I../../common
|
||||
MYCFLAGS =
|
||||
MYCFLAGS = -O3
|
||||
MYDEFS =
|
||||
MYLDLIBS =
|
||||
ifneq ($(SKIPPTHREAD),1)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
MYSRCPATHS = ../../common ../../common/crapto1
|
||||
MYSRCS = crypto1.c crapto1.c bucketsort.c
|
||||
MYINCLUDES = -I../../include -I../../common
|
||||
MYCFLAGS = -O3 --param max-completely-peeled-insns=1000 --param max-completely-peel-times=10000
|
||||
MYCFLAGS = -O3
|
||||
MYDEFS =
|
||||
|
||||
BINS = mfkey32 mfkey32v2 mfkey64
|
||||
@@ -16,6 +16,11 @@ ifneq (,$(findstring MINGW,$(platform)))
|
||||
CFLAGS += -D_ISOC99_SOURCE
|
||||
endif
|
||||
|
||||
# macOS doesn't like these compiler params
|
||||
ifneq ($(platform),Darwin)
|
||||
MYCFLAGS += --param max-completely-peeled-insns=1000 --param max-completely-peel-times=10000
|
||||
endif
|
||||
|
||||
mfkey32 : $(OBJDIR)/mfkey32.o $(MYOBJS)
|
||||
mfkey32v2 : $(OBJDIR)/mfkey32v2.o $(MYOBJS)
|
||||
mfkey64 : $(OBJDIR)/mfkey64.o $(MYOBJS)
|
||||
|
||||
Reference in New Issue
Block a user