]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - Makefile
Add some verilator and isim compatibility
[fpgaboy.git] / Makefile
index 9d944420b232a8496f6b7d0c9475fd88e3987c09..a7f4e331506af1c2aaa3c80c463a1c63c95b30ed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,11 @@ 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 LCDC.v insn_ldm_a.v
+       Timer.v LCDC.v insn_ldm8_a.v insn_ldm16_a.v Framebuffer.v \
+       insn_ldbcde_a.v insn_alu_ext.v insn_bit.v insn_two_byte.v \
+       insn_incdec_reg8.v Sound1.v Sound2.v Soundcore.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 +44,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 +53,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.02839 seconds and 4 git commands to generate.