Makefile 248 Bytes Edit Raw Blame History 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