set(HEADERS pattern_table.h ppu.h palette.h)
set(SOURCE pattern_table.c ppu.c palette.c)
add_library(nes_ppu ${SOURCE} ${HEADERS})
target_link_libraries(nes_ppu log.c)