OBJS += libs/subcircuit/subcircuit.o
GENFILES =
+EXTRA_TARGETS =
TARGETS = yosys yosys-config
all: top-all
include backends/*/Makefile.inc
include techlibs/Makefile.inc
-top-all: $(TARGETS)
+top-all: $(TARGETS) $(EXTRA_TARGETS)
yosys: $(OBJS)
$(CXX) -o yosys $(LDFLAGS) $(OBJS) $(LDLIBS)
-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