forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (35 loc) · 833 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
DIRS = ansi-c \
cbmc \
cbmc-cover \
cbmc-cpp \
cbmc-java \
cbmc-java-inheritance \
cpp \
goto-analyzer \
goto-analyzer-taint \
goto-cc-cbmc \
goto-cc-goto-analyzer \
goto-diff \
goto-gcc \
goto-instrument \
goto-instrument-typedef \
invariants \
strings \
jbmc-strings \
strings-smoke-tests \
test-script \
# Empty last line
# Check for the existence of $dir. Tests under goto-gcc cannot be run on
# Windows, so appveyor.yml unlinks the entire directory under Windows.
test:
@for dir in $(DIRS); do \
if [ -d "$$dir" ]; then \
$(MAKE) -C "$$dir" test || exit 1; \
fi; \
done;
clean:
@for dir in *; do \
if [ -d "$$dir" ]; then \
$(MAKE) -C "$$dir" clean; \
fi; \
done;