dbd583f9
Pierre Cwik
ajout projet
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
REPERTOIRES = Graphique Liste Testliste
COMPILE = $(REPERTOIRES:%=all-%)
DEVERMINE = $(REPERTOIRES:%=debug-%)
NETTOYAGE = $(REPERTOIRES:%=clean-%)
export CFLAGS += -Wall
all: $(COMPILE)
$(COMPILE):
$(MAKE) -C $(@:all-%=%)
debug: $(DEVERMINE)
$(DEVERMINE): CFLAGS += -g -DDEVERMINE
$(DEVERMINE):
$(MAKE) -C $(@:debug-%=%)
clean: $(NETTOYAGE)
$(NETTOYAGE):
$(MAKE) -C $(@:clean-%=%) clean
all-Main: all-Bibliotheque
debug-Main: debug-Bibliotheque
.PHONY: $(COMPILE) $(DEVERMINE) $(NETTOYAGE)
.PHONY: all debug clean
|