浏览代码

Added make clean.

Ioannis Koutras 13 年之前
父节点
当前提交
2c4dbe156b
共有 1 个文件被更改,包括 5 次插入0 次删除
  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