소스 검색

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