diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-08-26 10:55:18 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-08-26 10:55:18 +0500 |
commit | ad04490ef84d7565fbec0fa878a21694ad2d61f0 (patch) | |
tree | accfa142da0b3f99f957de6c030dc2c76639be53 /in_practice/breakout/build.sh | |
parent | 1f93c3ef62af6c71217f06491ca2b859d4065740 (diff) |
guess that's all
Diffstat (limited to 'in_practice/breakout/build.sh')
-rwxr-xr-x | in_practice/breakout/build.sh | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/in_practice/breakout/build.sh b/in_practice/breakout/build.sh index 63e4b93..1cd66f0 100755 --- a/in_practice/breakout/build.sh +++ b/in_practice/breakout/build.sh @@ -1,7 +1,8 @@ #!/bin/sh +include='-I../include -I/usr/include/freetype2' cflags='-g -Wall' -libs='-lSDL3 -lGLEW -lGL -lm' +libs='-lSDL3 -lGLEW -lGL -lm -lfreetype' src=' game.c input.c @@ -15,8 +16,18 @@ sys.c texture.c gl_utils.c ball.c +particle.c +post_processor.c +powerup.c +audio.c +text.c ' +dir=$(dirname $0) +pushd $dir + set -x -gcc -o breakout $cflags $src $libs +gcc -o breakout $cflags $include $src $libs + +popd |