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.
This commit is contained in:
Marco Wahl 2017-02-07 23:49:29 +01:00
parent cc14aa6cfe
commit ba492c9537
1 changed files with 2 additions and 0 deletions

View File

@ -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::