make file
This commit is contained in:
+3
-3
@@ -66,7 +66,7 @@ Objectif : Mise en place des fondations techniques
|
|||||||
| Nom du fichier | Rôle | US |
|
| Nom du fichier | Rôle | US |
|
||||||
|----------------|-------|----|
|
|----------------|-------|----|
|
||||||
| `ConverterController.java` | Contrôleur du convertisseur | US-U5, US-D3..D6, US-P1..P3 |
|
| `ConverterController.java` | Contrôleur du convertisseur | US-U5, US-D3..D6, US-P1..P3 |
|
||||||
| `Main.java` | Lancement du convertisseur | — |
|
| `Convertisseur.java` | Lancement du convertisseur | — |
|
||||||
---
|
---
|
||||||
|
|
||||||
### Résultat attendu Sprint 1
|
### Résultat attendu Sprint 1
|
||||||
@@ -178,11 +178,11 @@ Objectif : Finalisation complète + livrable final
|
|||||||
|----------------|-------|
|
|----------------|-------|
|
||||||
| `Makefile` | Compilation + génération `.jar` |
|
| `Makefile` | Compilation + génération `.jar` |
|
||||||
|
|
||||||
### `/doc` (optionnel)
|
### `/doc`
|
||||||
| Nom du fichier | Rôle |
|
| Nom du fichier | Rôle |
|
||||||
|----------------|-------|
|
|----------------|-------|
|
||||||
| `rapport.pdf` | Livrable final |
|
| `rapport.pdf` | Livrable final |
|
||||||
| `uml.puml` | Sources de diagrammes |
|
| `UML/___.plantuml` | Sources de diagrammes |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 174 KiB |
@@ -0,0 +1,58 @@
|
|||||||
|
# Outils
|
||||||
|
JAVAC = javac
|
||||||
|
JAVA = java
|
||||||
|
JAVADOC = javadoc
|
||||||
|
|
||||||
|
# Dossiers
|
||||||
|
SRC = src
|
||||||
|
BIN = build
|
||||||
|
DOC = docjava
|
||||||
|
LIB = lib/
|
||||||
|
|
||||||
|
# Package
|
||||||
|
PKG_PATH = fr/iutfbleau/sae
|
||||||
|
|
||||||
|
# Points d’entrée
|
||||||
|
MAIN_CONVERTER = fr.iutfbleau.sae.Convertisseur
|
||||||
|
MAIN_VIEWER = fr.iutfbleau.sae.Viewer
|
||||||
|
|
||||||
|
# Séparateur classpath
|
||||||
|
ifeq ($(OS),Windows_NT)
|
||||||
|
SEP = ;
|
||||||
|
else
|
||||||
|
SEP = :
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Règle par défaut
|
||||||
|
all: \
|
||||||
|
$(BIN)/$(PKG_PATH)/Convertisseur.class
|
||||||
|
$(BIN)/$(PKG_PATH)/Viewer.class
|
||||||
|
|
||||||
|
# Compilation
|
||||||
|
$(BIN)/$(PKG_PATH)/Convertisseur.class: $(BIN)
|
||||||
|
$(JAVAC) -d $(BIN) $(SRC)/$(PKG_PATH)/Convertisseur.java
|
||||||
|
|
||||||
|
$(BIN)/$(PKG_PATH)/Viewer.class: $(BIN)
|
||||||
|
$(JAVAC) -d $(BIN) $(SRC)/$(PKG_PATH)/Viewer.java
|
||||||
|
|
||||||
|
# Dossiers
|
||||||
|
$(BIN):
|
||||||
|
mkdir -p $(BIN)
|
||||||
|
|
||||||
|
$(DOC):
|
||||||
|
mkdir -p $(DOC)
|
||||||
|
|
||||||
|
# Exécution
|
||||||
|
run-conv: all
|
||||||
|
$(JAVA) -cp $(BIN)$(SEP)$(LIB)* $(MAIN_CONVERTER)
|
||||||
|
|
||||||
|
run-view: all
|
||||||
|
$(JAVA) -cp $(BIN)$(SEP)$(LIB)* $(MAIN_VIEWER)
|
||||||
|
|
||||||
|
# Documentation
|
||||||
|
doc: $(DOC)
|
||||||
|
$(JAVADOC) -d $(DOC) $(SRC)/fr/iutfbleau/sae/**/*.java
|
||||||
|
|
||||||
|
# Nettoyage
|
||||||
|
clean:
|
||||||
|
rm -rf $(BIN) $(DOC)
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
package fr.iutfbleau.sae;
|
||||||
|
public class Convertisseur {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("DLKSLDKSLKDSLKSLKSLDKSLDKLSdkslkdl");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
package fr.iutfbleau.sae;
|
||||||
|
|
||||||
|
public class Viewer {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("dqkdjqkdjqkdjqkdjqkdj");
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user