diff options
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 |