]> Witch of Git - nan-gate/blob - Makefile
Do NaN synthesis pattern matching via attributes
[nan-gate] / Makefile
1 all: test
2
3 test: example/example.sv example/example.ys nangate.so
4 yosys example/example.ys
5
6 %_pm.h: %.pmg
7 pmgen $< $@
8
9 nangate.so: nangate.cc erase_b2f_pm.h dff_nan_pm.h share_nan_pm.h
10 yosys-config --build $@ $<
11
12 install: nangate.so techlib.sv
13 yosys-config --exec mkdir -p --datdir/nangate
14 yosys-config --exec cp $^ --datdir/nangate/
15
16 clean:
17 rm -rf -- *.d *.so *.so.dSYM *_pm.h