Pārlūkot izejas kodu

Added make clean.

Ioannis Koutras 13 gadi atpakaļ
vecāks
revīzija
2c4dbe156b
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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