Commit 4c14ac671775fd812659ab3167ab8d732b5caf4f

Authored by Thorsieger
1 parent 10d9b5ab

update makefile

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
@@ -6,6 +6,7 @@ all : ${EXEC} @@ -6,6 +6,7 @@ all : ${EXEC}
6 6
7 ${EXEC}: main.o tree.o 7 ${EXEC}: main.o tree.o
8 $(CC) -o $@ $^ $(CFLAGS) 8 $(CC) -o $@ $^ $(CFLAGS)
  9 + rm -rf *.o
9 10
10 main.o : main.c 11 main.o : main.c
11 $(CC) -c $< $(CFLAGS) 12 $(CC) -c $< $(CFLAGS)
@@ -14,4 +15,4 @@ arbre.o : tree.c @@ -14,4 +15,4 @@ arbre.o : tree.c
14 $(CC) -c $< $(CFLAGS) 15 $(CC) -c $< $(CFLAGS)
15 16
16 clean : 17 clean :
17 - rm -rf *.o  
18 \ No newline at end of file 18 \ No newline at end of file
  19 + rm -rf ${EXEC}
19 \ No newline at end of file 20 \ No newline at end of file