Explorar o código

Added make clean.

Ioannis Koutras %!s(int64=14) %!d(string=hai) anos
pai
achega
2c4dbe156b
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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