X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=progs%2FMakefile;h=8053fc52928362149028db58b9b36440b7ed7b32;hb=7bd87d5c82d7b1f7e86a15b0e6f1940020c87330;hp=8d2675b1be9ad44dd8f7980cfa2d967bc5e26a04;hpb=3a7211a07ff55b35ed62d183e5c856d0c8e081ce;p=calu.git diff --git a/progs/Makefile b/progs/Makefile index 8d2675b..8053fc5 100644 --- a/progs/Makefile +++ b/progs/Makefile @@ -26,6 +26,19 @@ fibmmem.prog: @echo " PROG $<" ../tools/dtprog.py $< $(DPROGFLAGS) +%.s_pre_sim: %.s dt_inc.s + @echo " PRESIM $<" + gcc -x c -E -C -P -DDTSIM $< > $@ + +%.dthex_sim: %.s_pre_sim + @echo " ASMSIM $<" + ../3a_asm/dtas < $< > $@ + +fibmmem.sim: +%.sim: %.dthex_sim + @echo " SIM $<" + cd ../3b_sim/; ./sim -f ../progs/$< + .PHONY: clean clean: - rm -rf *.dthex *.s_pre + rm -rf *.dthex *.s_pre *.dthex_sim *.s_pre_sim