diff --git a/Makefile b/Makefile index 2b1bbe5..90dc9d7 100755 --- a/Makefile +++ b/Makefile @@ -1,18 +1,19 @@ +CC=gcc EXEC=executable all: $(EXEC) executable: projet.o main.o - gcc -o executable projet.o main.o -g + $(CC) -o executable projet.o main.o -g projet.o: projet.c - gcc -c projet.c + $(CC) -c projet.c main.o: main.c projet.h - gcc -c main.c + $(CC) -c main.c clean: rm -rf *.o mrproper: clean - rm -rf $(EXEC) + rm -rf $(EXEC) \ No newline at end of file -- libgit2 0.21.2