# Remove built - material if it was run before
rm -rf obj
rm -rf ../ndll
mkdir ../ndll
# MacOSX Paths
# Stencyl Application Directory -> Downloads/Stencyl-full in my case
export NEKOLPATH=/Users/admin/Downloads/Stencyl-full/plaf/haxe/lib/openfl-native/1,1,4/templates/neko/ndll/mac
export NEKOPATH=/Users/admin/Downloads/Stencyl-full/plaf/haxe/lib/openfl-native/1,1,4/templates/neko/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$NEKOLPATH
export DYLD_LIBRARY_PATH=$NEKOLPATH
export PATH=$PATH:$NEKOPATH:/Users/admin/Downloads//Stencyl-full/plaf/haxe
## iPhone
haxelib run hxcpp Build.xml -Diphoneos
haxelib run hxcpp Build.xml -Diphoneos -DHXCPP_ARMV7
haxelib run hxcpp Build.xml -Diphonesim
# Macintosh Native
haxelib run hxcpp Build.xml -DHXCPP_M64


