~kota/battery

battery/Makefile -rw-r--r-- 415 bytes
00ecd102Dakota Walsh add license 5 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
# battery
# BSD 3-Clause: See LICENSE in the root of this repo file for copyright and license details.
.POSIX:

include config.mk

all: clean build

build:
	go build

clean:
	rm -f battery

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

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

.PHONY: all build clean install uninstall