build: add distclean target to out-of-tree builds
This commit is contained in:
parent
dd20025207
commit
cdf69dbed6
4
Makefile
4
Makefile
@ -46,8 +46,8 @@ Makefile:: ;
|
|||||||
# Turn everything else into a no-op rule that depends on the build directory.
|
# Turn everything else into a no-op rule that depends on the build directory.
|
||||||
%:: $(builddir_name) ;
|
%:: $(builddir_name) ;
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean distclean
|
||||||
clean:
|
clean distclean:
|
||||||
$(RM) -fr $(builddir_name)
|
$(RM) -fr $(builddir_name)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user