Makefile 248 Bytes
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