Set up drawing to framebuffer

This commit is contained in:
2025-10-18 17:43:22 +01:00
commit 9f1cb46a3b
3 changed files with 91 additions and 0 deletions

8
build.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
cc="gcc"
warn="-std=c23 -pedantic -Wall -Wextra"
opt="-O2 -march=native"
libs="-I/usr/include/libdrm -ldrm"
$cc $flags $libs main.c -o asteroids