Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ensure that DrawingWindow is correctly rebuilt.
[graphlib_java.git] / Makefile
index 0bf6fd3..774838d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,11 @@ 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)
 EXAMPLES_CLASS = $(EXAMPLES:%.java=%.class)
 
 all: html/index.html
-       $(MAKE) -f ../Makefile.generic $(EXAMPLES_CLASS)
+       $(MAKE) -f ../Makefile.generic $(SRC_CLASS) $(EXAMPLES_CLASS)
 
 html/index.html: $(SRC)
        $(RM) -r html