From: Clifford Wolf Date: Thu, 28 Mar 2013 15:53:40 +0000 (+0100) Subject: Added EXTRA_TARGETS Makefile variable X-Git-Tag: yosys-0.2.0~665 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d60fbaf6644de91a3d9ea58295ac8e2ddd6cd363;p=yosys.git Added EXTRA_TARGETS Makefile variable --- 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