Commit 4c14ac671775fd812659ab3167ab8d732b5caf4f

Authored by Thorsieger
1 parent 10d9b5ab

update makefile

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