install_root := $(shell stack path --local-install-root) progname = shelves exe = $(install_root)/bin/$(progname) .PHONY: $(exe) default $(progname): $(exe) ln -sf $^ $@ $(exe): stack build