Skip to content
Snippets Groups Projects
Commit da6c76ab authored by Luigi Santocanale's avatar Luigi Santocanale
Browse files

Added Makefine in src

parent d1c7b8a8
No related branches found
No related tags found
No related merge requests found
# Le nom de votre classe principale
# Renommez si nécessaire
MAINCLASS=Main
## Le chemin vers où votre classe compilée est installée
# Renommez si nécessaire
INSTALLDIR=../out/production/TP3
MAINDIR=$(dir $(subst .,/,$(MAINCLASS)))
CLASSES=$(shell find $(INSTALLDIR)/$(MAINDIR) -name \*.class)
compile: $(subst .,/,$(MAINCLASS)).class
%.class: %.java
javac -g -d $(INSTALLDIR) *.java
clean:
## Rien à faire, tout à été compilé et installé dans INSTALLDIR
install:
## Rien à faire, tout à été compilé et installé dans INSTALLDIR
cleanInstall:
rm $(subst $$,\$$,$(CLASSES))
test:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment