add much-needed optimizations and enhance the snake example game

This commit is contained in:
2026-10-05 03:45:46 +02:00
parent e72588f792
commit 78ae90391a
7 changed files with 295 additions and 32 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ run:
$(OUT)
build-snake:
$(CC) -o $(SNAKE) $(SNAKE_SRC) $(INC) $(LIBS)
$(CC) -o $(SNAKE) -O3 -DNDEBUG $(SNAKE_SRC) $(INC) $(LIBS)
run-snake:
$(SNAKE)