Makefile add prof target

This commit is contained in:
John MacFarlane 2024-12-19 11:18:13 -08:00
parent 4c409e6cf2
commit 7b873ac790

View file

@ -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