Create separate renderer and framebuffer modules

This commit is contained in:
Camden Dixie O'Brien
2025-10-13 13:56:11 +01:00
parent cb68a98347
commit 045d0e6085
6 changed files with 212 additions and 128 deletions

View File

@@ -4,5 +4,8 @@ cc="gcc"
warn="-std=c23 -pedantic -Wall -Wextra"
opt="-O2 -march=native"
libs="-I/usr/include/libdrm -ldrm"
defs="-D_POSIX_C_SOURCE=200809L"
$cc $flags $libs main.c -o asteroids
$cc $flags $libs $defs \
-o asteroids \
fb.c main.c renderer.c