Skip to content

Commit ee0f124

Browse files
committed
Makefiles: more conditional ocaml build, for package testing
1 parent 988a013 commit ee0f124

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

examples/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ SUBDIRS += verifythis
4040
# SUBDIRS_CLEAN += hello
4141
SUBDIRS_ALL += dependencies
4242
SUBDIRS_CLEAN += dependencies
43+
44+
HAS_OCAML ?= 1
45+
ifneq (,$(HAS_OCAML))
4346
SUBDIRS_ALL += native_tactics
47+
endif
4448
SUBDIRS_CLEAN += native_tactics
4549

4650
FSTAR_ROOT ?= ..

examples/data_structures/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
FSTAR_ROOT ?= ../..
22
include $(FSTAR_ROOT)/mk/test.mk
33

4+
HAS_OCAML ?= 1
5+
6+
ifneq (,$(HAS_OCAML))
47
all: $(OUTPUT_DIR)/RBTreeIntrinsic_patched.exe
8+
endif
59

610
# EXTRACT = RBTreeIntrinsic
711

0 commit comments

Comments
 (0)