Blame view

projets/projetsfile/Makefile 536 Bytes
39758f3e   Pierre Cwik   debut du snake 17...
1
  REPERTOIRES = Graphique Liste Testliste Centipede
dbd583f9   Pierre Cwik   ajout projet
2
3
4
  COMPILE = $(REPERTOIRES:%=all-%)
  DEVERMINE = $(REPERTOIRES:%=debug-%)
  NETTOYAGE = $(REPERTOIRES:%=clean-%)
39758f3e   Pierre Cwik   debut du snake 17...
5
  export CFLAGS += -g -Wall 
dbd583f9   Pierre Cwik   ajout projet
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  
  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