summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-01-07 02:24:19 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-01-07 02:24:19 +0400
commit180b6ab7c204ddf3a8aa2b9b022085e6a96ff99a (patch)
treeafb0144af0ba75d516e100d1fc6fa0c309620c0e /Makefile
parentc9090da5bd98c418f71f9110c6c3d82f2f7d37ee (diff)
program name changed to 'ash'
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