Add Makefile.defs with common defs
This commit is contained in:
@@ -9,34 +9,14 @@
|
||||
# Add -DNOFORCE to disable the -F switch
|
||||
# Add -DPRESETS to compile with preset models (edit config.h)
|
||||
|
||||
# Hide full compilation line:
|
||||
ifneq ($(V),1)
|
||||
Q?=@
|
||||
endif
|
||||
# To see full command lines, use make V=1
|
||||
# Must be called before any Makefile include
|
||||
ROOT_DIR:=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
include ../Makefile.defs
|
||||
|
||||
INSTALLBINRELPATH = /bin/
|
||||
INSTALLSHARERELPATH = /share/proxmark3/
|
||||
INSTALLBIN = proxmark3 proxmark3-flasher
|
||||
INSTALLSHARE = lualibs luascripts resources dictionaries
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
LD = g++
|
||||
TAR = tar
|
||||
TARFLAGS ?= -v --ignore-failed-read -r
|
||||
TARFLAGS += -C .. -f
|
||||
RM = rm -f
|
||||
RMDIR= rm -rf
|
||||
MKDIR = mkdir -p
|
||||
MV = mv
|
||||
TOUCH = touch
|
||||
FALSE = false
|
||||
CP=cp -a
|
||||
|
||||
platform = $(shell uname)
|
||||
ROOT_DIR:=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
VPATH = ../common uart
|
||||
vpath %.dic dictionaries
|
||||
OBJDIR = obj
|
||||
|
||||
Reference in New Issue
Block a user