mirror of https://github.com/YosysHQ/yosys.git
20 lines
352 B
Makefile
20 lines
352 B
Makefile
PROGRAM_PREFIX :=
|
|
|
|
YOSYS ?= ../../../../$(PROGRAM_PREFIX)yosys
|
|
|
|
DOTS = macc_simple_xmap.dot macc_xilinx_xmap.dot
|
|
|
|
all: dots
|
|
dots: $(DOTS)
|
|
|
|
macc_simple_xmap.dot: macc_simple_*.v macc_simple_test.ys
|
|
$(YOSYS) macc_simple_test.ys
|
|
|
|
macc_xilinx_xmap.dot: macc_xilinx_*.v macc_xilinx_test.ys
|
|
$(YOSYS) macc_xilinx_test.ys
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f *.dot
|
|
|