1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# potato DESTDIR = PREFIX = /usr/local CSC = csc potato: potato.scm $(CSC) -o $@ $< .PHONY: install install: potato install -Dt $(DESTDIR)$(PREFIX)/bin potato .PHONY: uninstall uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/potato