Parcourir la source

Added make clean.

Ioannis Koutras il y a 14 ans
Parent
commit
2c4dbe156b
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      Makefile

+ 5 - 0
Makefile

@@ -13,3 +13,8 @@ OBJ = posix_lock.o other.o LeaHeader.o sys_alloc.o dmm_init.o test.o
 
 test: $(OBJ)
 	gcc -pthread -o $@ $^ $(CFLAGS)
+
+clean:
+	-@$(RM) $(wildcard $(OBJ))
+
+.PHONY: all clean test