graphics working
This commit is contained in:
commit
fa7998f276
11 changed files with 376 additions and 0 deletions
16
makefile
Normal file
16
makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
SDL_CFLAGS = `sdl2-config --cflags`
|
||||
SDL_LDFLAGS = `sdl2-config --libs`
|
||||
|
||||
lint:
|
||||
verilator --lint-only --timing yayacemu.sv rom_loader.sv
|
||||
|
||||
build: lint
|
||||
verilator --cc --exe --build --timing -j 0 yayacemu.sv rom_loader.sv yayacemu.cpp -CFLAGS "${SDL_CFLAGS}" -LDFLAGS "${SDL_LDFLAGS}" && clear
|
||||
|
||||
run: build
|
||||
obj_dir/Vyayacemu ${ROM_FILE}
|
||||
|
||||
clean:
|
||||
rm -rf obj_dir
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue