We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06d3e58 + 85017d5 commit 1610ff9Copy full SHA for 1610ff9
src/Makefile
@@ -7,8 +7,7 @@ export EBMC_DIR
7
8
all: hw-cbmc.dir ebmc.dir
9
10
-.PHONY: clean
11
-
+.PHONY: $(patsubst %, %.dir, $(DIRS))
12
$(patsubst %, %.dir, $(DIRS)):
13
## Entering $(basename $@)
14
$(MAKE) $(MAKEARGS) -C $(basename $@)
@@ -29,10 +28,15 @@ cprover.dir:
29
28
$(MAKE) $(MAKEARGS) -C $(CPROVER_DIR) \
30
CP_EXTRA_CXXFLAGS='-D"LOCAL_IREP_IDS=<$(EBMC_DIR)/hw_cbmc_irep_ids.h>"'
31
32
-clean: $(patsubst %, %_clean, $(SUBDIRS))
+.PHONY: clean
+clean: $(patsubst %, %_clean, $(DIRS)) cprover_clean
33
34
-$(patsubst %, %_clean, $(SUBDIRS)):
+.PHONY: $(patsubst %, %_clean, $(DIRS))
35
+$(patsubst %, %_clean, $(DIRS)):
36
if [ -e $(patsubst %_clean, %, $@)/. ] ; then \
37
$(MAKE) $(MAKEARGS) -C $(patsubst %_clean, %, $@) clean ; \
38
fi
39
40
+.PHONY: cprover_clean
41
+cprover_clean:
42
+ $(MAKE) $(MAKEARGS) -C $(CPROVER_DIR) clean
0 commit comments