Mercurial > hg > audiodb
changeset 723:ca11b72f92b6
Added clean task
author | mas01mj |
---|---|
date | Wed, 14 Jul 2010 16:02:00 +0000 |
parents | 56e97aa9d0ae |
children | 11fd16e1d8b3 |
files | bindings/java/build.xml |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/bindings/java/build.xml Wed Jul 14 15:54:58 2010 +0000 +++ b/bindings/java/build.xml Wed Jul 14 16:02:00 2010 +0000 @@ -1,4 +1,4 @@ -<project name="AudioDB" default="dist" basedir="." xmlns:cpptasks="antlib:net.sf.antcontrib.cpptasks"> +<project name="AudioDB" default="compile" basedir="." xmlns:cpptasks="antlib:net.sf.antcontrib.cpptasks"> <cpptasks:cc /> <cpptasks:compiler /> <cpptasks:linker /> @@ -7,7 +7,6 @@ <property name="ext" location="ext" /> <property name="gen" location="gen" /> <property name="build" location="build" /> - <property name="dist" location="dist" /> <target name="init"> <tstamp /> @@ -15,6 +14,11 @@ <mkdir dir="${gen}" /> </target> + <target name="clean" depends="init"> + <delete dir="${build}" /> + <delete dir="${gen}" /> + </target> + <target name="compile" depends="init"> <javac srcdir="${src}" destdir="${build}"/> <javah destdir="${gen}" force="yes" classpath="${build}"> @@ -38,8 +42,6 @@ <path path="${gen}" /> </includepath> </cpptasks:cc> - <!--ld -fPIC -G $(OBJS) -laudioDB -o $@ - CFLAGS += -shared -fPIC -g -I$(JDK)/include -I$(JDK)/include/linux -I/usr/local/include/ --> </target> </project>