diff --git a/makefile b/makefile index 87bf7d6..7c2c52d 100644 --- a/makefile +++ b/makefile @@ -6,6 +6,7 @@ all : ${EXEC} ${EXEC}: main.o tree.o $(CC) -o $@ $^ $(CFLAGS) + rm -rf *.o main.o : main.c $(CC) -c $< $(CFLAGS) @@ -14,4 +15,4 @@ arbre.o : tree.c $(CC) -c $< $(CFLAGS) clean : - rm -rf *.o \ No newline at end of file + rm -rf ${EXEC} \ No newline at end of file -- libgit2 0.21.2