]> git.localhorst.tv Git - blank.git/blobdiff - Makefile
cleanup
[blank.git] / Makefile
index 156d5cb20d9dd64b0b64548b98b810e556cf23d6..dd67f8ff6fc9e2bed18b145743a32f0274a7b256 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -92,7 +92,9 @@ test: blank.test
        ./blank.test
 
 clean:
-       rm -df $(OBJ) $(DEP) $(DIR)
+       rm -f $(OBJ)
+       rm -f $(DEP)
+       find build -type d -empty -delete
 
 distclean: clean
        rm -f $(BIN) cachegrind.out.* callgrind.out.*