summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 4660ac83..e0367d73 100644
--- a/Makefile
+++ b/Makefile
@@ -58,21 +58,21 @@ build-tests-verify: build tests verify
# Build the project
.PHONY: build
-build: build-driver build-lib build-bin-dir doc
+build: build-bin build-lib build-bin-dir doc
-.PHONY: build-driver
-build-driver:
- cd compiler && dune build $(AENEAS_DRIVER)
+.PHONY: build-bin
+build-bin:
+ cd compiler && dune build
.PHONY: build-lib
build-lib:
cd compiler && dune build aeneas.cmxs
.PHONY: build-bin-dir
-build-bin-dir: build-driver build-lib
+build-bin-dir: build-bin build-lib
mkdir -p bin
- cp -f compiler/_build/default/driver.exe bin/aeneas
- cp -f compiler/_build/default/driver.exe bin/aeneas.cmxs
+ cp -f compiler/_build/default/main.exe bin/aeneas
+ cp -f compiler/_build/default/main.exe bin/aeneas.cmxs
mkdir -p bin/backends/fstar
mkdir -p bin/backends/coq
cp -rf backends/fstar/*.fst* bin/backends/fstar/