Skip to content

Commit

Permalink
Makefiles: more conditional ocaml build, for package testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mtzguido committed Dec 5, 2024
1 parent 988a013 commit ee0f124
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ SUBDIRS += verifythis
# SUBDIRS_CLEAN += hello
SUBDIRS_ALL += dependencies
SUBDIRS_CLEAN += dependencies

HAS_OCAML ?= 1
ifneq (,$(HAS_OCAML))
SUBDIRS_ALL += native_tactics
endif
SUBDIRS_CLEAN += native_tactics

FSTAR_ROOT ?= ..
Expand Down
4 changes: 4 additions & 0 deletions examples/data_structures/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
FSTAR_ROOT ?= ../..
include $(FSTAR_ROOT)/mk/test.mk

HAS_OCAML ?= 1

ifneq (,$(HAS_OCAML))
all: $(OUTPUT_DIR)/RBTreeIntrinsic_patched.exe
endif

# EXTRACT = RBTreeIntrinsic

Expand Down

0 comments on commit ee0f124

Please sign in to comment.