Browse Source

Revert commit c90c7a33f53ad88dfcc583ad4c77bec306da0b22

targets.mk: Revert to cleanup at every compile for 'standard' targets.

Note: You can do 'dirty' builds with 'make compile-dirty' and 'make
test-dirty'.
- Disadvantage: these builds may fail due to the missing clean.
- Advantage: typically the 'dirty' builds are much faster.
Marco Wahl 8 years ago
parent
commit
ba492c9537
1 changed files with 2 additions and 0 deletions
  1. 2 0
      mk/targets.mk

+ 2 - 0
mk/targets.mk

@@ -88,6 +88,8 @@ local.mk:
 	$(info ======================================================)
 	-@$(MAKE_LOCAL_MK)
 
+all compile::
+	$(foreach dir, doc lisp, $(MAKE) -C $(dir) clean;)
 compile compile-dirty::
 	$(MAKE) -C lisp $@
 all clean-install::