forked from menault/TD3_DEV51_Qualite_Algo
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			726 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			726 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # Projet Pendu : fichier Makefile
 | |
| # Compatibilité : Linux
 | |
| 
 | |
| # Règle par défaut
 | |
| all : Pendu
 | |
| 
 | |
| # Dossiers
 | |
| IN = src/
 | |
| OUT = bin/
 | |
| 
 | |
| # Mots-clés
 | |
| JC = javac
 | |
| JCFLAGS = -encoding UTF-8 -implicit:none -cp $(OUT) -d $(OUT)
 | |
| 
 | |
| CLASSFILES = Pendu.class # \
 | |
| 
 | |
| 
 | |
| # Dépendances
 | |
| $(OUT)Pendu.class : $(IN)Pendu.java # $(OUT)Fichier.class $(OUT)Cible.class $(OUT)Systeme.class
 | |
| 	$(JC) $(JCFLAGS) $<
 | |
| 
 | |
| 
 | |
| 
 | |
| # Commandes
 | |
| Pendu : $(OUT)Pendu.class
 | |
| 
 | |
| jar : $(OUT)Pendu.class
 | |
| 	jar -cfe Pendu.jar Pendu -C $(OUT) .
 | |
| 
 | |
| clean :
 | |
| 	-rm -f $(OUT)*.class
 | |
| 	-rm -f Pendu.jar
 | |
| 
 | |
| help :  #(à implémenter plus tard)
 | |
| 
 | |
| # Buts factices
 | |
| .PHONY : all clean  #(pour les cibles qui sont des commandes)
 | |
| 
 | |
| # Bug : gestion des chemins dans jar ?
 |