blob: 701bfb5ba2a1a5211ad468d8a8d9c0bfab5915cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
DESTDIR= # leave empty for the current system or provide a fakeroot here
PREFIX=/usr
all: build/limox
build:
mkdir build
build/limox: build
go build -o $@ ./...
.PHONY: clean debug install
clean:
rm -rf build
debug:
go run ./...
install: build/limox
install -Dm 755 build/limox $(DESTDIR)$(PREFIX)/bin/limox
install -Dm 644 limox.desktop $(DESTDIR)$(PREFIX)/share/applications/limox.desktop
|