From 94f4e76c5ae382cde768cd588f29257b92cf248e Mon Sep 17 00:00:00 2001 From: Linus Tolke Y <linus@lysator.liu.se> Date: Fri, 13 Sep 1991 21:53:28 +0000 Subject: [PATCH] Lagt till distclean. --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c1366277d..46a11da7e 100644 --- a/Makefile +++ b/Makefile @@ -31,14 +31,23 @@ include $(SCRIPTDIR)/sub-depend.make .PHONY: clean clean: $(RM) $(GENERIC-CLEAN) - $(RM) -r $(INCLUDEDIR) - $(RM) -r $(LIBDIR) -for i in $(SUBDIRS); \ do \ [ -d $$i ] && { echo making clean in directory $$i; \ (cd $$i; $(MAKE) $(EXPORTS) clean) } \ done +distclean: clean + $(RM) $(GENERIC-DIST-CLEAN) + $(RM) -r $(INCLUDEDIR) + $(RM) -r $(LIBDIR) + -for i in $(SUBDIRS); \ + do \ + [ -d $$i ] && { echo making distclean in directory $$i; \ + (cd $$i; $(MAKE) $(EXPORTS) distclean) } \ + done + + depend: $(INCLUDEDIR) $(INCLUDEDIR)/m-config.h msg includes distribution: clean -- GitLab