]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - Makefile
Add bootrom
[fpgaboy.git] / Makefile
index 26e2289e0ed89d5d72257cf5b9ec3c29994e26d8..8b2feed5f306326d2f728ead88ebe0d01130c13b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,10 @@ VLOGS = 7seg.v GBZ80Core.v insn_call-callcc.v insn_incdec16.v \
        insn_ld_sp_hl.v insn_pop_reg.v insn_rst.v System.v CPUDCM.v \
        insn_alu_a.v insn_halt.v insn_jp-jpcc.v insn_ld_hl_reg.v \
        insn_ld_reg_imm8.v insn_ldx_ahl.v insn_push_reg.v insn_vop_intr.v \
-       Timer.v
+       Timer.v LCDC.v insn_ldm8_a.v insn_ldm16_a.v Framebuffer.v \
+       insn_ldbcde_a.v
 
-all: CoreTop_rom.svf CoreTop_diag.svf CoreTop.twr
+all: CoreTop_rom.svf CoreTop_diag.svf CoreTop_bootrom.svf CoreTop.twr
 
 CoreTop.ngc: CoreTop.xst CoreTop.prj $(VLOGS)
        xst -ifn CoreTop.xst -ofn CoreTop.syr
@@ -42,7 +43,7 @@ parsim: CoreTop_isim_par.exe
 %.o: %.asm
        rgbasm -o$@ $<
 
-%.bin: %.o rom.lnk
+%.bin: %.o
        echo "[Objects]" > tmp.lnk
        echo $< >> tmp.lnk
        echo "" >> tmp.lnk
@@ -51,7 +52,7 @@ parsim: CoreTop_isim_par.exe
        xlink tmp.lnk
        rm tmp.lnk
 
-%.mem: %.bin
+%.mem: %.bin mashrom
        ./mashrom < $< > $@
 
 CoreTop_%.bit: %.mem CoreTop.bit foo_bd.bmm
This page took 0.025952 seconds and 4 git commands to generate.