From 0cb9fa1c023033c250fd0bf33c2cee49fc85f178 Mon Sep 17 00:00:00 2001 From: talha <-> Date: Mon, 12 Aug 2024 19:39:04 +0500 Subject: Added files to git tracking --- build_desktop.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 build_desktop.sh (limited to 'build_desktop.sh') diff --git a/build_desktop.sh b/build_desktop.sh new file mode 100755 index 0000000..d74c086 --- /dev/null +++ b/build_desktop.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +iraylib="thirdparty/raylib_desktop/include" +include_opts="-I $iraylib" + +lraylib="-L thirdparty/raylib_desktop/lib -lraylib" +lib_opts="$lraylib -lGL -lm -lpthread -ldl -lrt -lX11" + +src_dir="src" +src_files="$src_dir/game.c" +build_dir="build/desktop" +build_path="$build_dir/game.out" +cc -g -O0 $include_opts $src_files $lib_opts -o $build_path -- cgit v1.2.3