1 <project name="gdx-natives" basedir="." default="all"> 2 <target name="clean"> 3 <ant antfile="build-windows32.xml" target="clean"/> 4 <ant antfile="build-windows64.xml" target="clean"/> 5 <ant antfile="build-linux32.xml" target="clean"/> 6 <ant antfile="build-linux64.xml" target="clean"/> 7 <ant antfile="build-android32.xml" target="clean"/> 8 9 </target> 10 11 <target name="compile-natives"> 12 <ant antfile="build-windows32.xml"/> 13 <ant antfile="build-windows64.xml"/> 14 <ant antfile="build-linux32.xml"/> 15 <ant antfile="build-linux64.xml"/> 16 <ant antfile="build-android32.xml"/> 17 18 </target> 19 20 <target name="pack-natives"> 21 <jar destfile="../libs/gdx-natives.jar"> 22 <fileset dir="../libs/macosx32" includes="libgdx.dylib"/> 23 <fileset dir="../libs/macosx64" includes="libgdx64.dylib"/> 24 <fileset dir="../libs/windows32" includes="gdx.dll"/> 25 <fileset dir="../libs/windows64" includes="gdx64.dll"/> 26 <fileset dir="../libs/linux32" includes="libgdx.so"/> 27 <fileset dir="../libs/linux64" includes="libgdx64.so"/> 28 29 </jar> 30 </target> 31 32 <target name="all" depends="compile-natives,pack-natives"/> 33 </project> 34