mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
chore: in makefile, compile everything in release mode
This commit is contained in:
parent
eb20b64dc4
commit
16b306c19a
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
|
@ -2,11 +2,12 @@
|
||||||
|
|
||||||
all: build test
|
all: build test
|
||||||
|
|
||||||
|
OPTS?=--profile=release
|
||||||
build:
|
build:
|
||||||
@dune build @install
|
@dune build @install $(OPTS)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@dune runtest --no-buffer --force
|
@dune runtest --no-buffer --force $(OPTS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@dune clean
|
@dune clean
|
||||||
|
|
@ -14,8 +15,9 @@ clean:
|
||||||
doc:
|
doc:
|
||||||
@dune build @doc
|
@dune build @doc
|
||||||
|
|
||||||
|
WATCH?=@all
|
||||||
watch:
|
watch:
|
||||||
@dune build @all -w
|
@dune build $(OPTS) $(WATCH) -w
|
||||||
|
|
||||||
.PHONY: benchs tests build watch
|
.PHONY: benchs tests build watch
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue