Implement simple line drawing

This commit is contained in:
2025-10-18 17:43:22 +01:00
parent fad9a8935f
commit 0deaf4435c
6 changed files with 98 additions and 16 deletions

View File

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