mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-27 10:34:08 +08:00
FIX: #402 https://github.com/Proxmark/proxmark3/pull/402 (piwi)
This commit is contained in:
parent
1285f5a32c
commit
a68887ce2d
2 changed files with 8 additions and 6 deletions
|
@ -12,17 +12,19 @@ TARFLAGS = -C .. --ignore-failed-read -rvf
|
|||
RM = rm -f
|
||||
MV = mv
|
||||
|
||||
#COMMON_FLAGS = -m32
|
||||
# uncomment to enable EMV
|
||||
#COMMON_FLAGS += -DWITH_EMV
|
||||
#CFLAGS += -DWITH_EMV
|
||||
|
||||
ENV_LDFLAGS := $(LDFLAGS)
|
||||
ENV_CFLAGS := $(CFLAGS)
|
||||
|
||||
VPATH = ../common ../zlib ../uart
|
||||
OBJDIR = obj
|
||||
|
||||
LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm
|
||||
LUALIB = ../liblua/liblua.a
|
||||
LDFLAGS = $(COMMON_FLAGS)
|
||||
CFLAGS = -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../zlib -I../uart -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O3
|
||||
LDFLAGS = $(ENV_LDFLAGS)
|
||||
CFLAGS = $(ENV_CFLAGS) -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../zlib -I../uart -I/opt/local/include -I../liblua -Wall -g -O3
|
||||
CXXFLAGS = -I../include -Wall -O3
|
||||
|
||||
LUAPLATFORM = generic
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CC = gcc
|
||||
LD = gcc
|
||||
CFLAGS = -std=c99 -march=native -Wall -Winline -O3
|
||||
LDFLAGS =
|
||||
CFLAGS += -std=c99 -march=native -Wall -Winline -O3
|
||||
LDFLAGS +=
|
||||
|
||||
OBJS = crapto1.o crypto1.o
|
||||
HEADERS = crapto1.h
|
||||
|
|
Loading…
Reference in a new issue