Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move sample tests in a separate file.
[graphlib_java.git] / Makefile
index 774838d..e405622 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,20 +5,23 @@ DEST = $(HOME)/public_html/enseignement/Permanent/AlgoProg/tp/graph
 SRC = DrawingWindow.java
 EXAMPLES = Hello.java Exemple1.java Exemple2.java Exemple3.java
 
-SRC_CLASS = $(SRC:%.java:%.class)
+SRC_CLASS = $(SRC:%.java=%.class)
 EXAMPLES_CLASS = $(EXAMPLES:%.java=%.class)
 
 all: html/index.html
        $(MAKE) -f ../Makefile.generic $(SRC_CLASS) $(EXAMPLES_CLASS)
+       $(MAKE) -f ../Makefile.generic Test.class
 
 html/index.html: $(SRC)
        $(RM) -r html
-       javadoc -author -version -notree -nodeprecated -nohelp \
-               -encoding utf-8 -docencoding utf-8 -charset utf-8 \
+       javadoc -locale fr_FR -encoding utf-8 -docencoding utf-8 -charset utf-8 \
+               -quiet -notree -nodeprecated -nohelp \
+               -author -version -public \
                -d html/ $(SRC)
 
 clean:
        $(RM) DrawingWindow*.class
+       $(RM) Test.class
        $(RM) $(EXAMPLES_CLASS)
        $(RM) -r html/