diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-02 17:16:09 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-02 17:16:09 +0100 |
commit | 6fdfebbc65949d6ad55ee5a47bd6b5bdbc74a91f (patch) | |
tree | 0b733bb8fdbeecf6baddb2306e82fd73c0641060 /cpu/Makefile | |
parent | 721c62c977635b6ca716d965c8b84837a3d7b215 (diff) | |
download | SystDigit-Projet-6fdfebbc65949d6ad55ee5a47bd6b5bdbc74a91f.tar.gz SystDigit-Projet-6fdfebbc65949d6ad55ee5a47bd6b5bdbc74a91f.zip |
New netlist generation protocol
Diffstat (limited to 'cpu/Makefile')
-rw-r--r-- | cpu/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
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 $@` |