Skip to content

Commit

Permalink
Rename Driver.ml to Main.ml
Browse files Browse the repository at this point in the history
  • Loading branch information
sonmarcho committed Nov 16, 2023
1 parent a27efd1 commit 4972f21
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions compiler/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(executable
(name driver)
(public_name aeneas_driver)
(name main)
(public_name aeneas_main)
(package aeneas)
(libraries aeneas)
(modules Driver))
(modules Main))

(library
(name aeneas) ;; The name as used in the project
Expand Down

0 comments on commit 4972f21

Please sign in to comment.