-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·23 lines (17 loc) · 715 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#Fichier Makefile racine
# Cette variable contient la liste des sous répertoires
# pour lesquels il faudra construire un programme.
# Pour l’instant, seul le serveur web est dans la liste.
FOLDERS = webserver
# Indique à make les règles qui ne correspondent pas à la création
# d’un fichier
# make lancera toujours la construction de cette règle si elle est
# demandée, même si un fichier/répertoire du nom de la cible existe
# On indique ici la règle all ainsi que les répertoires
.PHONY: all $(FOLDERS)
# La règle qui sera exécutée si on lance make sans argument
all: $(FOLDERS)
# Cette règle va lancer make dans le répertoire webserver
# option -C de make
webserver:
make -C webserver