diff options
| author | pryazha <pryadeiniv@mail.ru> | 2025-10-12 15:24:30 +0500 |
|---|---|---|
| committer | pryazha <pryadeiniv@mail.ru> | 2025-10-12 15:24:30 +0500 |
| commit | 223b1056273f5d48d1c0bbfee75be7b82374d4eb (patch) | |
| tree | 2b2003aad9c26af7006c5a5c7e2baf1a63ad89e7 /example/build.sh | |
| parent | 7e73843ac5873833c707687cd0ada0a3034e600c (diff) | |
change identation, maybe will change back, add own gl functions loading, and glx example
Diffstat (limited to 'example/build.sh')
| -rwxr-xr-x | example/build.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/example/build.sh b/example/build.sh deleted file mode 100755 index 285b072..0000000 --- a/example/build.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -start=`pwd` -dir=`dirname "$0"` -if [ "$1" = 'clean' ] ; then - set -x - cd "$dir" - rm -f macros macros.exe arena arena.exe sys sys.exe string string.exe - cd "$start" - exit -fi -cc='tcc' -if [ "$1" = 'windows' ] ; then - cc='x86_64-w64-mingw32-gcc' -fi -libsdir='../..' -if [ ! -d "$libsdir/prb" ] ; then - echo "error: failed to get prb library path" - exit -fi -"$libsdir/prb/build.sh" -cflags='-g -Wall' -include="-I$libsdir/prb" -lflags="-L$libsdir/prb" -libs='-lprb' -set -x -cd "$dir" -$cc $cflags $include $lflags -o macros macros.c $libs -$cc $cflags $include $lflags -o arena arena.c $libs -$cc $cflags $include $lflags -o sys sys.c $libs -$cc $cflags $include $lflags -o string string.c $libs -cd "$start" |
