Change Makefile variable make
This commit is contained in:
parent
9c92d7945d
commit
c229df8506
7
Makefile
7
Makefile
@ -1,14 +1,13 @@
|
|||||||
V ?= 0
|
V ?= 0
|
||||||
Q = $(if $(filter 1, $V),, @)
|
Q = $(if $(filter 1, $V),, @)
|
||||||
|
BINDIR=$(CURDIR)/bin
|
||||||
BIN_DIR=./bin
|
|
||||||
|
|
||||||
ifeq ($(OS), Windows_NT)
|
ifeq ($(OS), Windows_NT)
|
||||||
EXE=$(BIN_DIR)/lume.exe
|
EXE=$(BINDIR)/lume.exe
|
||||||
RM=del /f /q
|
RM=del /f /q
|
||||||
BUILD_DATE=$(shell powershell Get-Date -Format "yyyy-MM-ddThh:mm:sszzz")
|
BUILD_DATE=$(shell powershell Get-Date -Format "yyyy-MM-ddThh:mm:sszzz")
|
||||||
else
|
else
|
||||||
EXE=$(BIN_DIR)/lume
|
EXE=$(BINDIR)/lume
|
||||||
RM=rm -f
|
RM=rm -f
|
||||||
BUILD_DATE=$(shell date --iso-8601=seconds)
|
BUILD_DATE=$(shell date --iso-8601=seconds)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user