Skip to content

Commit d218a41

Browse files
committed
Add models lib to Makefiles
make in repo root now builds the models lib.
1 parent 285f525 commit d218a41

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
.PHONY: all clean setup-cbmc regression
22

3+
CPROVER_DIR ?= cbmc/src
4+
export CPROVER_DIR
5+
36
all:
47
$(MAKE) $(MAKEARGS) -C src
8+
$(MAKE) $(MAKEARGS) -C benchmarks/LIBRARIES/models/plug
59

610
clean:
711
$(MAKE) $(MAKEARGS) -C cbmc/src clean
@@ -18,4 +22,3 @@ ifndef single
1822
else
1923
python ./benchmarks/evaluator.py -B $(single)
2024
endif
21-

benchmarks/LIBRARIES/models/plug/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ SRC = \
33
java/lang/boolean.cpp \
44
# Empty
55

6-
INCLUDES= -I . -I include -I ../../../src -I ../../../$(CPROVER_DIR)
6+
INCLUDES= -I . -I include -I ../../../src -I ../../../../../$(CPROVER_DIR)
77

8-
include ../../../$(CPROVER_DIR)/config.inc
9-
include ../../../$(CPROVER_DIR)/common
8+
include ../../../../../$(CPROVER_DIR)/config.inc
9+
include ../../../../../$(CPROVER_DIR)/common
1010

1111
CLEANFILES = models-library$(LIBEXT)
1212

0 commit comments

Comments
 (0)