mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-02-22 22:53:06 +08:00
Merge pull request #402 from pwpiwi/env_flags
Don't ignore environment variables CFLAGS and LDFLAGS
This commit is contained in:
commit
0060e3daa2
2 changed files with 6 additions and 5 deletions
|
@ -12,14 +12,15 @@ TARFLAGS = -C .. --ignore-failed-read -rvf
|
|||
RM = rm -f
|
||||
MV = mv
|
||||
|
||||
#COMMON_FLAGS = -m32
|
||||
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,8 +1,8 @@
|
|||
VPATH = ../../common ../../common/crapto1 ../../client
|
||||
CC = gcc
|
||||
LD = gcc
|
||||
CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3
|
||||
LDFLAGS =
|
||||
CFLAGS += -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3
|
||||
LDFLAGS +=
|
||||
|
||||
OBJS = crypto1.o crapto1.o parity.o util_posix.o mfkey.o
|
||||
EXES = mfkey32 mfkey64
|
||||
|
|
Loading…
Reference in a new issue