summaryrefslogtreecommitdiff
path: root/cpu/Makefile
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-09 16:10:58 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-09 16:10:58 +0100
commit8d87eacbcb26e7abc429d7824e90c617f172045e (patch)
tree07cffa442f5170503a7148347b969c76435415c0 /cpu/Makefile
parent35e0c0f16f58a7503045de5e047e029dd06983a2 (diff)
downloadSystDigit-Projet-8d87eacbcb26e7abc429d7824e90c617f172045e.tar.gz
SystDigit-Projet-8d87eacbcb26e7abc429d7824e90c617f172045e.zip
Make things great !
Diffstat (limited to 'cpu/Makefile')
-rw-r--r--cpu/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpu/Makefile b/cpu/Makefile
index 5efa691..7e92314 100644
--- a/cpu/Makefile
+++ b/cpu/Makefile
@@ -6,9 +6,13 @@ AUXILLARY=alu.ml
SCHED=../sched/sched
SIM=../csim/csim
MON=../monitor/mon
+ASM=../asm/asm
-all: _build/cpu_opt.dumb
- $(MON) $(SIM) -rom ROM0 prog_test1.rom $<
+all: _build/cpu_opt.dumb os.rom
+ $(MON) $(SIM) -rom ROM0 os.rom $<
+
+os.rom: os.asm
+ $(ASM) $< > $@
%.sim: _build/%.dumb
$(SIM) -n 12 $<