Skip to content

Commit 39fab4a

Browse files
Makefile: Add gatemate genfiles
Allows files to be cleaned with `make clean`, without which it breaks out-of-tree builds if an in-tree build has previously run and subsequently cleaned.
1 parent 2d7a191 commit 39fab4a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

techlibs/gatemate/Makefile.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
OBJS += techlibs/gatemate/synth_gatemate.o
33
OBJS += techlibs/gatemate/gatemate_foldinv.o
44

5+
GENFILES += techlibs/gatemate/lut_tree_cells.genlib
6+
GENFILES += techlibs/gatemate/lut_tree_map.v
7+
58
$(eval $(call add_share_file,share/gatemate,techlibs/gatemate/reg_map.v))
69
$(eval $(call add_share_file,share/gatemate,techlibs/gatemate/mux_map.v))
710
$(eval $(call add_share_file,share/gatemate,techlibs/gatemate/lut_map.v))
@@ -28,3 +31,4 @@ techlibs/gatemate/lut_tree_map.v: techlibs/gatemate/lut_tree_lib.mk
2831

2932
$(eval $(call add_gen_share_file,share/gatemate,techlibs/gatemate/lut_tree_cells.genlib))
3033
$(eval $(call add_gen_share_file,share/gatemate,techlibs/gatemate/lut_tree_map.v))
34+

0 commit comments

Comments
 (0)