blob: e73e30f2bcd90a4b3ea70e0171fd6831644bebb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
CC=g++
LD=g++
BIN_PATH="bin"
LIB_PATH="lib"
CFLAGS="-O2"
mkdir -p $BIN_PATH
mkdir -p $BIN_PATH/assets
$CC $CFLAGS -L$LIB_PATH -Igraphics src/*.cpp -o $BIN_PATH/main -lsgg -lGL -lGLEW -lSDL2 -lSDL2_mixer -lfreetype
cp -r assets $BIN_PATH
|