~kota/nnn-select

nnn-select/Makefile -rw-r--r-- 386 bytes
286d7480Dakota Walsh accept relative paths as input 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# nnn-select
# See LICENSE for copyright and license details.
.POSIX:

include config.mk

all: clean build

build:
	go build

clean:
	rm -f nnn-select

install: build
	mkdir -p $(DESTDIR)$(PREFIX)/bin
	cp -f nnn-select $(DESTDIR)$(PREFIX)/bin
	chmod 755 $(DESTDIR)$(PREFIX)/bin/nnn-select

uninstall:
	rm -f $(DESTDIR)$(PREFIX)/bin/nnn-select

.PHONY: all build clean install uninstall