summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 47a3dce..ce70bdb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,16 @@
PREFIX ?= /usr/local
+ash: src/main.go
+ go build -o ash ./src
-gorth: src/main.go
- go build -o gorth ./src
-
-install: gorth
+install: ash
mkdir -p ${DESTDIR}${PREFIX}/bin
- cp -f gorth ${DESTDIR}${PREFIX}/bin
+ cp -f ash ${DESTDIR}${PREFIX}/bin
uninstall:
- rm -f ${DESTDIR}${PREFIX}/bin/gorth
+ rm -f ${DESTDIR}${PREFIX}/bin/ash
clean:
- rm -f gorth
+ rm -f ash
.PHONY: test clean