Ajout de la documentation

This commit is contained in:
2023-04-28 20:10:44 +02:00
parent 5bd3247003
commit 0edf40fbf5
3 changed files with 15 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ JVMFLAGS =
SRCDIR = ./src
OUTDIR = ./out
DOCDIR = ./doc
OFILES = $(subst src/,out/,$(subst .java,.class,$(shell find $(SRCDIR)/ -name *.java)))
### REGLES ESSENTIELLES ###
@@ -24,9 +25,13 @@ run : $(OUTDIR)/Main.class
clean :
-rm -rf $(OUTDIR)
-rm -rf $(DOCDIR)
mrproper : clean $(OUTDIR)/Main.class
doc :
javadoc -d $(DOCDIR) $(SRCDIR)/*.java
### BUTS FACTICES ###
.PHONY : run clean mrproper