summaryrefslogtreecommitdiff
path: root/techlibs/common/Makefile.inc
blob: c68b13f6cbab5f9681974787ca5e13fab9f0feb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
EXTRA_TARGETS += techlibs/common/blackbox.v

techlibs/common/blackbox.v: techlibs/common/blackbox.sed techlibs/common/simlib.v techlibs/common/simcells.v
	cat techlibs/common/simlib.v techlibs/common/simcells.v | $(SED) -rf techlibs/common/blackbox.sed > techlibs/common/blackbox.v.new
	mv techlibs/common/blackbox.v.new techlibs/common/blackbox.v

EXTRA_TARGETS += share/simlib.v share/simcells.v share/blackbox.v share/pmux2mux.v

share/simlib.v: techlibs/common/simlib.v
	mkdir -p share
	cp techlibs/common/simlib.v share/simlib.v

share/simcells.v: techlibs/common/simcells.v
	mkdir -p share
	cp techlibs/common/simcells.v share/simcells.v

share/blackbox.v: techlibs/common/blackbox.v
	mkdir -p share
	cp techlibs/common/blackbox.v share/blackbox.v

share/pmux2mux.v: techlibs/common/pmux2mux.v
	mkdir -p share
	cp techlibs/common/pmux2mux.v share/pmux2mux.v