make beeper seperate from gpu and also move modules into their own files
This commit is contained in:
parent
6bd5af390f
commit
044d846313
3 changed files with 13 additions and 354 deletions
4
makefile
4
makefile
|
@ -2,10 +2,10 @@ SDL_CFLAGS = `sdl2-config --cflags`
|
|||
SDL_LDFLAGS = `sdl2-config --libs`
|
||||
|
||||
lint:
|
||||
verilator --lint-only --timing yayacemu.sv rom_loader.sv
|
||||
verilator --lint-only --timing *.sv
|
||||
|
||||
build: lint
|
||||
verilator --cc --exe --build --timing -j 0 yayacemu.sv rom_loader.sv yayacemu.cpp -CFLAGS "${SDL_CFLAGS}" -LDFLAGS "${SDL_LDFLAGS}" && clear
|
||||
verilator --cc --exe --build --timing -j 0 --top-module yayacemu *.sv yayacemu.cpp -CFLAGS "${SDL_CFLAGS}" -LDFLAGS "${SDL_LDFLAGS}" && clear
|
||||
|
||||
run: build
|
||||
obj_dir/Vyayacemu ${ROM_FILE}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue