Skip to content

Commit

Permalink
Make bench program buildable and runnable
Browse files Browse the repository at this point in the history
  • Loading branch information
Rsysz committed Jan 6, 2021
1 parent 8dd086e commit 4f73eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ $(OUT)/cpu_instrs.h: tests/cpu_instrs.gb tests/rom2h.c
$(Q)$(CC) -o $(OUT)/rom2h tests/rom2h.c
@$(OUT)/rom2h

$(OUT)/bench: $(OUT)/cpu_instrs.h prof.h cpu.c bench.c gameboy.h
$(OUT)/bench: gbit/lib/tester.c gbit/lib/ref_cpu.c gbit/lib/inputstate.c gbit/lib/disassembler.c
$(VECHO) " CC+LD\t$@\n"
$(Q)$(CC) -DENABLE_LCD=0 -o $@ cpu.c bench.c
$(Q)$(CC) -DENABLE_LCD=0 -DDEBUG -o $@ cpu.c bench.c $^

# Download Game Boy ROMs with full source
download_rom:
Expand Down

0 comments on commit 4f73eda

Please sign in to comment.