Ajout du test-05 en version Java
This commit is contained in:
parent
7c2de35762
commit
2794000586
11
tests/Java/test-05-variables/bake/Bakefile
Normal file
11
tests/Java/test-05-variables/bake/Bakefile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Définition des variables
|
||||||
|
COMPILATEUR = javac
|
||||||
|
OPTIONS = -d .
|
||||||
|
EXECUTABLE = Main.class
|
||||||
|
SOURCE = Main.java
|
||||||
|
|
||||||
|
# Règle principale
|
||||||
|
$(EXECUTABLE): $(SOURCE)
|
||||||
|
$(COMPILATEUR) $(OPTIONS) $(SOURCE)
|
||||||
|
|
||||||
|
all: $(EXECUTABLE)
|
6
tests/Java/test-05-variables/bake/Main.java
Normal file
6
tests/Java/test-05-variables/bake/Main.java
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
public class Main {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("Ceci est un programme de test du Bakefile !");
|
||||||
|
}
|
||||||
|
}
|
6
tests/Java/test-05-variables/make/Main.java
Normal file
6
tests/Java/test-05-variables/make/Main.java
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
public class Main {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("Ceci est un programme de test du Bakefile !");
|
||||||
|
}
|
||||||
|
}
|
11
tests/Java/test-05-variables/make/Makefile
Normal file
11
tests/Java/test-05-variables/make/Makefile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Définition des variables
|
||||||
|
COMPILATEUR = javac
|
||||||
|
OPTIONS = -d .
|
||||||
|
EXECUTABLE = Main.class
|
||||||
|
SOURCE = Main.java
|
||||||
|
|
||||||
|
# Règle principale
|
||||||
|
$(EXECUTABLE): $(SOURCE)
|
||||||
|
$(COMPILATEUR) $(OPTIONS) $(SOURCE)
|
||||||
|
|
||||||
|
all: $(EXECUTABLE)
|
Loading…
x
Reference in New Issue
Block a user