From 19f36271c2634f6829b4f7fe75b848aa74fd168d Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 7 Feb 2017 11:09:15 -0300 Subject: [PATCH] Allow standard tools to be overwritten in make invocation --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 57e935174..280c9d6a1 100644 --- a/Makefile +++ b/Makefile @@ -57,9 +57,9 @@ CXXFLAGS += -Wall -Wextra -ggdb -I. -I"$(YOSYS_SRC)" -MD -D_YOSYS_ -fPIC -I$(PRE LDFLAGS += -L$(LIBDIR) LDLIBS = -lstdc++ -lm -PKG_CONFIG = pkg-config -SED = sed -BISON = bison +PKG_CONFIG ?= pkg-config +SED ?= sed +BISON ?= bison ifeq (Darwin,$(findstring Darwin,$(shell uname))) BREW := $(shell command -v brew 2> /dev/null)