summaryrefslogtreecommitdiff
path: root/Makefile
blob: ce70bdbbfc62e4e56932933aa856b6ec40398cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PREFIX ?= /usr/local

ash: src/main.go
	go build -o ash ./src

install: ash
	mkdir -p ${DESTDIR}${PREFIX}/bin
	cp -f ash ${DESTDIR}${PREFIX}/bin

uninstall:
	rm -f ${DESTDIR}${PREFIX}/bin/ash

clean:
	rm -f ash

.PHONY: test clean