blob: 0af1ed61816c857d01f0766bbabcf6af6fd9e2f0 (
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 $@ xengineering.eu/limox
.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
|