Blame view

projets/Centipede/Makefile 298 Bytes
39758f3e   Pierre Cwik   debut du snake 17...
1
2
3
4
5
6
7
8
9
10
11
12
13
  SOURCES = $(wildcard *.c)
  OBJETS = $(SOURCES:.c=.o)
  BIBLIOTHEQUES = -L ../Liste -lListe -L ../Graphique -lgraph
  EXECUTABLE = centipede
  CFLAGS += -Wall -I ../Liste -I ../Graphique
  
  all: $(EXECUTABLE)
  
  $(EXECUTABLE): $(OBJETS)
  	$(CC) -o $@ $^ $(BIBLIOTHEQUES) -lSDL
  
  clean:
  	rm -rf $(EXECUTABLE) *.o