aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/extantz/build.sh
blob: 528a52294315d4ea4c37323d2abbced4d894cd87 (plain)
1
2
3
4
5
6
7
8
9
10
11
export PKG_CONFIG_PATH="/opt/e17/lib/pkgconfig"

echo "clean"
rm -f extantz crappisspuke.o extantz.edj
echo "edje"
edje_cc -id images extantz.edc extantz.edj
echo "Irrlicht"
#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
g++ -O3 -ffast-math -c crappisspuke.cpp -o crappisspuke.o -I../../libraries/irrlicht-1.8/include -I/usr/X11R6/include  $(pkg-config --cflags elementary)
echo "extantz"
gcc -g -DPACKAGE_BIN_DIR="\"$(pwd)\"" -DPACKAGE_DATA_DIR="\"$(pwd)\"" extantz.c crappisspuke.o -o extantz $(pkg-config --cflags --libs eo) $(pkg-config --cflags --libs ecore-x) $(pkg-config --cflags --libs elementary) $(pkg-config --cflags --libs ephysics)  -L../../libraries/irrlicht-1.8/lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor -lpng -ljpeg -lbz2 && strip extantz