mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Add Makefile.defs with common defs
This commit is contained in:
parent
d772c6169a
commit
3245260c00
5 changed files with 72 additions and 90 deletions
42
Makefile.defs
Normal file
42
Makefile.defs
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Hide full compilation line:
|
||||
ifneq ($(V),1)
|
||||
Q?=@
|
||||
endif
|
||||
# To see full command lines, use make V=1
|
||||
|
||||
# been here
|
||||
DEFSBEENHERE = true
|
||||
|
||||
CP = cp -a
|
||||
GZIP = gzip
|
||||
MKDIR = mkdir -p
|
||||
RM = rm -f
|
||||
RMDIR = rm -rf
|
||||
MV = mv
|
||||
TOUCH = touch
|
||||
FALSE = false
|
||||
TAR = tar
|
||||
TARFLAGS ?= -v --ignore-failed-read -r
|
||||
TARFLAGS += -C .. -f
|
||||
CROSS ?= arm-none-eabi-
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
LD = g++
|
||||
|
||||
PATHSEP=/
|
||||
PREFIX ?= /usr/local
|
||||
INSTALLBINRELPATH = /bin/
|
||||
INSTALLSHARERELPATH = /share/proxmark3/
|
||||
INSTALLFWRELPATH = /share/proxmark3/firmware/
|
||||
INSTALLTOOLSRELPATH = /share/proxmark3/tools/
|
||||
|
||||
platform = $(shell uname)
|
||||
DETECTED_OS=$(platform)
|
||||
|
||||
ifeq ($(platform),Darwin)
|
||||
AR= /usr/bin/ar rcs
|
||||
RANLIB= /usr/bin/ranlib
|
||||
else
|
||||
AR= ar rcs
|
||||
RANLIB= ranlib
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue