aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d9272c8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+# Be sure to set this before compiling ...
+ VER = 1.2.0
+ DIST = lib/ivy-java-$(VER).jar
+ DOCS = doc/html/api
+
+all: class
+
+class:
+ ( cd src; make; )
+
+docs:
+ ( cd src; make docs ; )
+
+dist: class docs
+ ln -sf src/fr .
+ ln -sf /usr/share/java/repository/gnu .
+ fastjar cvfm $(DIST) manifest fr/dgac/ivy/*.class gnu src/Makefile src/*.java examples/*java examples/Makefile doc/html/api/fr/dgac/ivy/*html doc/html/api/*html doc/html/api/*css
+ rm -f fr gnu
+
+clean:
+ ( cd src; make clean ;)
+ ( cd tests; make clean ; )
+ ( cd examples; make clean; )