From 6fdfebbc65949d6ad55ee5a47bd6b5bdbc74a91f Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Thu, 2 Jan 2014 17:16:09 +0100 Subject: New netlist generation protocol --- cpu/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cpu/Makefile') diff --git a/cpu/Makefile b/cpu/Makefile index e2ef7a8..74bfbae 100644 --- a/cpu/Makefile +++ b/cpu/Makefile @@ -1,21 +1,23 @@ .SECONDARY: -GENERATOR=netlist_ast.ml netlist_gen.ml netlist_gen.mli netlist_proc.ml +GENERATOR=netlist_ast.ml netlist_gen.ml netlist_gen.mli AUXILLARY=alu.ml SCHED=../sched/main.byte SIM=../csim/csim +all: cpu_opt.sim + %.sim: _build/%.dumb $(SIM) $< _build/%.dumb _build/%.snet _build/%_opt.dumb _build/%_opt.snet: _build/%.net $(SCHED) $< -_build/%.net: _build/%.byte +_build/%.net: _build/%.native ./$< > $@ -_build/%.byte: $(GENERATOR) $(AUXILLARY) %.ml +_build/%.native: $(GENERATOR) $(AUXILLARY) %.ml ocamlbuild `basename $@` # remove stupid symbolic link rm `basename $@` -- cgit v1.2.3