diff options
author | Slava Yurin <[email protected]> | 2014-11-18 20:44:40 +0600 |
---|---|---|
committer | Slava Yurin <[email protected]> | 2014-11-19 17:51:42 +0600 |
commit | 0e62d67fd55692345b657f53758ebb3bb3195b17 (patch) | |
tree | 49bb4b34b815c1033d5561fea971b38c5641bd55 | |
parent | f26cb713b0da9b131ed61d9537efd5aef519a6c4 (diff) | |
download | erlang.mk-0e62d67fd55692345b657f53758ebb3bb3195b17.tar.gz erlang.mk-0e62d67fd55692345b657f53758ebb3bb3195b17.tar.bz2 erlang.mk-0e62d67fd55692345b657f53758ebb3bb3195b17.zip |
Make env.mk delete on distclean
Because env.mk creates a considerable time, then delete it less often.
-rw-r--r-- | plugins/c_src.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/c_src.mk b/plugins/c_src.mk index 0aee88c..0b4064a 100644 --- a/plugins/c_src.mk +++ b/plugins/c_src.mk @@ -1,7 +1,7 @@ # Copyright (c) 2014, Loïc Hoguin <[email protected]> # This file is part of erlang.mk and subject to the terms of the ISC License. -.PHONY: clean-c_src +.PHONY: clean-c_src distclean-c_src-env # todo # Configuration. @@ -69,7 +69,12 @@ $(C_SRC_ENV): clean:: clean-c_src clean-c_src: - $(gen_verbose) rm -f $(C_SRC_ENV) $(C_SRC_OUTPUT) + $(gen_verbose) rm -f $(C_SRC_OUTPUT) + +distclean:: distclean-c_src-env + +distclean-c_src-env: + $(gen_verbose) rm -f $(C_SRC_ENV) -include $(C_SRC_ENV) endif |