Skip to content
Snippets Groups Projects
Commit 94f4e76c authored by Linus Tolke's avatar Linus Tolke
Browse files

Lagt till distclean.

parent d680138d
No related branches found
No related tags found
No related merge requests found
...@@ -31,14 +31,23 @@ include $(SCRIPTDIR)/sub-depend.make ...@@ -31,14 +31,23 @@ include $(SCRIPTDIR)/sub-depend.make
.PHONY: clean .PHONY: clean
clean: clean:
$(RM) $(GENERIC-CLEAN) $(RM) $(GENERIC-CLEAN)
$(RM) -r $(INCLUDEDIR)
$(RM) -r $(LIBDIR)
-for i in $(SUBDIRS); \ -for i in $(SUBDIRS); \
do \ do \
[ -d $$i ] && { echo making clean in directory $$i; \ [ -d $$i ] && { echo making clean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) clean) } \ (cd $$i; $(MAKE) $(EXPORTS) clean) } \
done 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 depend: $(INCLUDEDIR) $(INCLUDEDIR)/m-config.h msg includes
distribution: clean distribution: clean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment