Blame view

projets/projetslistechainee/Liste/Makefile 351 Bytes
cfd8c644   Cwik Pierre   fin centipede
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  #
  # Makefile pour la bibliotheque graphique
  #
  
  SOURCES = $(wildcard *.c)
  OBJETS = $(SOURCES:.c=.o)
  CIBLE = libListe.a
  
  #
  # Nom de la cible principale
  #
  
  all: $(CIBLE)
  
  #
  # Cible de nettoyage
  #
  
  clean: 
  	rm -f core *.o $(CIBLE)
  
  #
  # Dependances pour la bibliotheque
  #
  
  $(CIBLE): $(OBJETS)
  	$(AR) rs $@ $?
  
  $(CIBLE:.a=).o: $(CIBLE:.a=).c $(CIBLE:.a=).h