From d60fbaf6644de91a3d9ea58295ac8e2ddd6cd363 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 28 Mar 2013 16:53:40 +0100 Subject: [PATCH] Added EXTRA_TARGETS Makefile variable --- Makefile | 3 ++- techlibs/Makefile.inc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d59ca1d60..e1b8bac16 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ OBJS += libs/sha1/sha1.o OBJS += libs/subcircuit/subcircuit.o GENFILES = +EXTRA_TARGETS = TARGETS = yosys yosys-config all: top-all @@ -60,7 +61,7 @@ include passes/*/Makefile.inc include backends/*/Makefile.inc include techlibs/Makefile.inc -top-all: $(TARGETS) +top-all: $(TARGETS) $(EXTRA_TARGETS) yosys: $(OBJS) $(CXX) -o yosys $(LDFLAGS) $(OBJS) $(LDLIBS) diff --git a/techlibs/Makefile.inc b/techlibs/Makefile.inc index 031a4ad30..6c2a5f66a 100644 --- a/techlibs/Makefile.inc +++ b/techlibs/Makefile.inc @@ -1,5 +1,5 @@ -TARGETS += techlibs/blackbox.v +EXTRA_TARGETS += techlibs/blackbox.v techlibs/blackbox.v: techlibs/blackbox.sed techlibs/simlib.v techlibs/stdcells_sim.v cat techlibs/simlib.v techlibs/stdcells_sim.v | sed -rf techlibs/blackbox.sed > techlibs/blackbox.v.new -- 2.30.2