Makefile add prof target
This commit is contained in:
parent
4c409e6cf2
commit
7b873ac790
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -28,6 +28,10 @@ build: ## build executable
|
|||
$(CABALOPTS) pandoc-cli
|
||||
.PHONY: build
|
||||
|
||||
prof: ## build with profiling and optimizations
|
||||
cabal build --enable-profiling all
|
||||
.PHONY: prof
|
||||
|
||||
binpath: ## print path of built pandoc executable
|
||||
@cabal list-bin $(CABALOPTS) --ghc-options='$(GHCOPTS)' pandoc-cli
|
||||
.PHONY: binpath
|
||||
|
|
Loading…
Add table
Reference in a new issue