aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: b627838fc1fbc1184d5bb5147efb9530d75e987d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
CSC ?= csc
PREFIX ?= /usr/local

deepenv: deepenv.scm
	$(CSC) -o deepenv deepenv.scm

dispenv: dispenv.scm
	$(CSC) -o dispenv dispenv.scm

.PHONY: static
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