Blame view

projets/Testliste/Makefile 248 Bytes
dbd583f9   Pierre Cwik   ajout projet
1
2
3
4
5
6
7
8
9
10
11
12
  SOURCES = $(wildcard *.c)
  OBJETS = $(SOURCES:.c=.o)
  BIBLIOTHEQUES = -L ../Liste -lListe
  EXECUTABLE = projet
  CFLAGS += -Wall -I ../Liste
  
  all: $(EXECUTABLE)
  $(EXECUTABLE): $(OBJETS)
  	$(CC) -o $@ $^ $(BIBLIOTHEQUES)
  
  clean:
  	rm -rf $(EXECUTABLE) *.o