blob: 1cd66f0222828164c47e1e9abecce01da465fa01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
include='-I../include -I/usr/include/freetype2'
cflags='-g -Wall'
libs='-lSDL3 -lGLEW -lGL -lm -lfreetype'
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
particle.c
post_processor.c
powerup.c
audio.c
text.c
'
dir=$(dirname $0)
pushd $dir
set -x
gcc -o breakout $cflags $include $src $libs
popd
|