From 43394c8a8908442982e3a7e25975c31b3c952923 Mon Sep 17 00:00:00 2001 From: Nikolas Date: Sun, 27 Oct 2024 12:52:55 +0200 Subject: root --- build_src.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 build_src.sh (limited to 'build_src.sh') diff --git a/build_src.sh b/build_src.sh new file mode 100755 index 0000000..e73e30f --- /dev/null +++ b/build_src.sh @@ -0,0 +1,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 -- cgit v1.2.3