From bcbb562397fdfd8a14f1791a6f412d12d43eb5b6 Mon Sep 17 00:00:00 2001 From: Gene Pasquet Date: Thu, 5 Dec 2024 23:34:13 +0000 Subject: Improvements, documentation etc. --- Makefile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 53ae1ff..b627838 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,25 @@ +CSC ?= csc +PREFIX ?= /usr/local + deepenv: deepenv.scm - csc -o deepenv deepenv.scm + $(CSC) -o deepenv deepenv.scm dispenv: dispenv.scm - csc -o dispenv dispenv.scm + $(CSC) -o dispenv dispenv.scm .PHONY: static static: deepenv.scm - csc -static -o deepenv.static deepenv.scm + $(CSC) -static -o deepenv.static deepenv.scm .PHONY: clean clean: rm -f dispenv deepenv dispenv.link deepenv.link deepenv.static + +.PHONY: install +install: + mkdir -p $(PREFIX)/bin + install deepenv $(PREFIX)/bin/deepenv + +.PHONY: uninstall +uninstall: + rm $(PREFIX)/bin/deepenv -- cgit v1.2.3