summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorpryazha <pryadeiniv@mail.ru>2025-10-12 15:24:30 +0500
committerpryazha <pryadeiniv@mail.ru>2025-10-12 15:24:30 +0500
commit223b1056273f5d48d1c0bbfee75be7b82374d4eb (patch)
tree2b2003aad9c26af7006c5a5c7e2baf1a63ad89e7 /build.sh
parent7e73843ac5873833c707687cd0ada0a3034e600c (diff)
change identation, maybe will change back, add own gl functions loading, and glx example
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/build.sh b/build.sh
deleted file mode 100755
index 53ad6cb..0000000
--- a/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 *.o
- cd "$start"
- exit
-fi
-cc='tcc'
-debug='-g'
-release='-O2'
-cflags="-c -std=c99"
-if [ "$1" = "debug" ] ; then
- cflags="$debug $cflags"
-else
- cflags="$release $cflags"
-fi
-set -x
-cd $dir
-$cc $cflags prbm.c
-$cc $cflags arena.c
-$cc $cflags prbs.c
-$cc $cflags linux.c
-ar rcs libprb.a\
- prbm.o \
- arena.o \
- prbs.o \
- linux.o
-cd "$start"