Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragsoni committed Dec 6, 2019
1 parent 2205946 commit 8952d65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
23 changes: 8 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
.DEFAULT_GOAL: all
.PHONY: default build clean test examples

JBUILDER ?= dune
default: build

all:
@$(JBUILDER) build @install @DEFAULT
build:
dune build @check

check:
@$(JBUILDER) runtest
clean:
dune clean

test: check
test:
dune runtest -f

README.md: README.cpp.md $(wildcard examples/*.ml)
@cppo -n $< -o $@

clean:
@$(JBUILDER) clean

.PHONY: all clean check test

all-supported-ocaml-versions:
$(JBUILDER) runtest --workspace dune-workspace.dev
6 changes: 0 additions & 6 deletions dune-workspace.dev

This file was deleted.

0 comments on commit 8952d65

Please sign in to comment.