From 1f93c3ef62af6c71217f06491ca2b859d4065740 Mon Sep 17 00:00:00 2001 From: pryazha Date: Sat, 16 Aug 2025 10:11:00 +0500 Subject: in practice chapter --- in_practice/breakout/build.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 in_practice/breakout/build.sh (limited to 'in_practice/breakout/build.sh') diff --git a/in_practice/breakout/build.sh b/in_practice/breakout/build.sh new file mode 100755 index 0000000..63e4b93 --- /dev/null +++ b/in_practice/breakout/build.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +cflags='-g -Wall' +libs='-lSDL3 -lGLEW -lGL -lm' +src=' +game.c +input.c +level.c +linux.c +my_math.c +object.c +shader.c +sprite.c +sys.c +texture.c +gl_utils.c +ball.c +' + +set -x + +gcc -o breakout $cflags $src $libs -- cgit v1.2.3-70-g09d2