Use a Main class for the main().
[Project_POO.git] / exo1 / Makefile
index e09b2a36a9c722dbe6597980e4fd97ea7d2cc20c..b9cde1b4d1f50504ea47a18bc208c164b747c4d5 100644 (file)
@@ -46,13 +46,14 @@ JVM = java
 # NAME = Camilo        Juan
 
 CLASSES = \
-        Pile.java
+               Pile.java \
+               Main.java
 
 #
 # MAIN is a variable with the name of the file containing the main method
 #
 
-MAIN = Pile
+MAIN = Main
 
 #
 # the default make target entry