1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-02 14:55:58 +01:00
Smack/Makefile

30 lines
530 B
Makefile

.PHONY: all clean test-unit eclipse
export JAVA_TOOL_OPTIONS:='-Dfile.encoding=iso-8859-1'
all: build-smack
# Can not use 'build' as target name, because there is a
# directory called build
build-smack:
cd build && ant
clean:
cd build && ant clean
unit-test:
cd build && ant test-unit
integration-test:
cd build && ant test
eclipse: .settings .classpath .project
.settings:
ln -s build/eclipse/settings .settings
.classpath:
ln -s build/eclipse/classpath .classpath
.project:
ln -s build/eclipse/project .project