I started making this like 2 weeks ago, it was a good first introduction to using graphics with C and I enjoyed learning more about the CHIP-8 emulator
the executable binary is already included, you can run
./chip8 hbd.ch8
to execute the ROM
you can replace hbd.ch8 with a rom of your choice
make sure you have SDL2 installed
on arch linux you can install with
sudo pacman -S sdl2
then compile with
gcc -ggdb main.c -lSDL2 -lSDL2main -o chip8 -Wall