aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/extantz/build.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xClientHamr/extantz/build.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/ClientHamr/extantz/build.sh b/ClientHamr/extantz/build.sh
deleted file mode 100755
index d3ad3b0..0000000
--- a/ClientHamr/extantz/build.sh
+++ /dev/null
@@ -1,29 +0,0 @@
1#! /bin/bash
2
3export LOCALDIR=`pwd`
4
5# No need for a make file, or dependencies, the entire thing takes only a few seconds to build.
6
7CFLAGS="-g -Wall -I include -I $LOCALDIR"
8CFLAGS="$CFLAGS -I ../../libraries -I../../libraries/irrlicht-1.8.1/include -I/usr/X11R6/include"
9CFLAGS="$CFLAGS $(pkg-config --cflags luajit)"
10CFLAGS="$CFLAGS $(pkg-config --cflags elementary)"
11CFLAGS="$CFLAGS $(pkg-config --cflags ephysics)"
12CFLAGS="$CFLAGS -DPACKAGE_BIN_DIR=\"$LOCALDIR\""
13CFLAGS="$CFLAGS -DPACKAGE_LIB_DIR=\"$LOCALDIR\""
14CFLAGS="$CFLAGS -DPACKAGE_DATA_DIR=\"$LOCALDIR\" $CFLAGOPTS"
15
16LDFLAGS="-L $LOCALDIR $(pkg-config --libs-only-L luajit) -L lib -L /usr/lib -L /lib -L../../libraries/irrlicht-1.8.1/lib/Linux "
17libs="$(pkg-config --cflags --libs elementary) $(pkg-config --libs luajit) -lpthread -lm -ldl -lIrrlicht -lGL -lbz2"
18
19echo "clean"
20rm -f extantz crappisspuke.o CDemo.o extantzCamera.o extantz.edj
21echo "edje"
22edje_cc -id images extantz.edc extantz.edj
23echo "Irrlicht"
24#g++ -O3 -ffast-math crappisspuke.cpp -o crappisspuke -I../../libraries/irrlicht-1.8/include -I/usr/X11R6/include -L../../libraries/irrlicht-1.8/lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor && ./crappisspuke
25g++ $CFLAGS -O3 -ffast-math -c crappisspuke.cpp -o crappisspuke.o $LDFLAGS
26g++ $CFLAGS -O3 -ffast-math -c CDemo.cpp -o CDemo.o $LDFLAGS
27echo "extantz"
28g++ $CFLAGS -O3 -ffast-math -c extantzCamera.cpp -o extantzCamera.o $LDFLAGS
29gcc $CFLAGS extantz.c crappisspuke.o CDemo.o extantzCamera.o -o extantz $LDFLAGS $libs && strip extantz