~kota/tide

tide/Makefile -rw-r--r-- 394 bytes
9875dc8fDakota Walsh bump go-isatty 11 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
24
# tide
# Copyright (C) 2021 Dakota Walsh
# BSD 3-Clause See LICENSE in this repo for details.
.POSIX:

include config.mk

all: clean build

build:
	go build

clean:
	rm -f tide

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

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

.PHONY: all build clean install uninstall