diff options
| author | Jim Lawson | 2015-05-11 10:01:49 -0700 |
|---|---|---|
| committer | Jim Lawson | 2015-07-24 15:50:52 -0700 |
| commit | caa7602b878c03c47fd263550e37715f1a67f854 (patch) | |
| tree | 9f6ba59ea88a696507c54bf6882efb5b71a6c196 | |
| parent | f4a7e53abe314ad28397aae208287998fce4fa1a (diff) | |
Clean up make clean.
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,7 @@ SBT ?= sbt SBT_FLAGS ?= -Dsbt.log.noformat=true RM_DIRS := test-outputs test-reports -CLEAN_DIRS := doc +#CLEAN_DIRS := doc SRC_DIR ?= . SYSTEMC ?= $(SRC_DIR)/../../systemc/systemc-2.3.1 @@ -28,8 +28,12 @@ coverage: clean: $(SBT) $(SBT_FLAGS) +clean +ifneq (,$(CLEAN_DIRS)) for dir in $(CLEAN_DIRS); do $(MAKE) -C $$dir clean; done +endif +ifneq (,$(RM_DIRS)) $(RM) -r $(RM_DIRS) +endif scaladoc: $(SBT) $(SBT_FLAGS) doc test:doc |
