parent
965b1b4339
commit
0df1524976
5
Makefile
5
Makefile
@ -1,7 +1,8 @@
|
|||||||
V ?= 0
|
V ?= 0
|
||||||
Q = $(if $(filter 1, $V),, @)
|
Q = $(if $(filter 1, $V),, @)
|
||||||
BINDIR=$(CURDIR)/bin
|
BINDIR=$(CURDIR)/bin
|
||||||
DESTDIR=/usr/local/bin
|
PREFIX=/usr/bin
|
||||||
|
DESTDIR=bin
|
||||||
|
|
||||||
ifeq ($(OS), Windows_NT)
|
ifeq ($(OS), Windows_NT)
|
||||||
EXE=$(BINDIR)/lume.exe
|
EXE=$(BINDIR)/lume.exe
|
||||||
@ -30,4 +31,4 @@ clean:
|
|||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)
|
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/lume
|
||||||
|
Loading…
Reference in New Issue
Block a user