# Thesauracles NAME = thesauracles PREFIX = /usr/local BIND = $(DESTDIR)$(PREFIX)/bin BIN = $(BIND)/$(NAME) .PHONY: help install link uninstall help: @echo "$(NAME) : the wise sage of synonyms" @echo "(C) 2022 Case Duckworth " @echo "Licensed under the Fair license; see COPYING for details." @echo @echo "TARGETS:" @echo " install Install $(NAME) to $(BIN)." @echo " link Install $(NAME) using symlinks." @echo " Probably only useful for development." @echo " uninstall Uninstall $(NAME)-related files." $(BIND): mkdir -p $@ install: $(NAME) install -D $< $(BIND) link: $(NAME) $(BIND) ln -sf $(PWD)/$(NAME) $(BIN) uninstall: rm -f $(BIN)