summaryrefslogtreecommitdiff
path: root/cpu/Makefile
diff options
context:
space:
mode:
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 898b007..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_rom0.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 $<