mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
compile for optimized speed execution
This commit is contained in:
parent
4708940c69
commit
68f296cc14
3 changed files with 8 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue