Modifications du makefile + Quelques ajustements

This commit is contained in:
2024-04-29 18:20:37 +02:00
parent 064ba1a91f
commit 41cb3f15ce
4 changed files with 22 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ JVM := java
JVMFLAGS :=
SRCDIR := ./src
OUTDIR := ./out
OUTDIR := ./build
DOCDIR := ./doc
SRC := $(wildcard $(SRCDIR)/*.java)
OFILES := $(SRC:$(SRCDIR)/%.java=$(OUTDIR)/%.class)
@@ -16,6 +16,7 @@ $(OUTDIR)/%.class : $(SRCDIR)/%.java
@mkdir -p $(@D)
${JC} ${JCFLAGS} -cp $(SRCDIR) -d $(OUTDIR) $<
### REGLES OPTIONNELLES ###
GridMaker : $(OFILES)
@@ -31,6 +32,8 @@ clean :
doc :
javadoc -d $(DOCDIR) $(SRC)
default:
### BUTS FACTICES ###
.PHONY : run clean doc