Stop spawning cat/tr for each compiled source file
This commit is contained in:
parent
80d4faa72c
commit
3da3381859
4
Makefile
4
Makefile
@ -34,8 +34,10 @@ MINGW_OPTIMIZATION_FLAGS ?= -O2
|
|||||||
|
|
||||||
include config.mk
|
include config.mk
|
||||||
|
|
||||||
|
VERSION := $(shell cat VERSION.txt | tr -d '\r\n')
|
||||||
|
|
||||||
COMMON_CXXFLAGS += \
|
COMMON_CXXFLAGS += \
|
||||||
-DWINPTY_VERSION=$$(cat VERSION.txt | tr -d '\r\n') \
|
-DWINPTY_VERSION=$(VERSION) \
|
||||||
-DWINPTY_VERSION_SUFFIX=$(VERSION_SUFFIX) \
|
-DWINPTY_VERSION_SUFFIX=$(VERSION_SUFFIX) \
|
||||||
-DWINPTY_COMMIT_HASH=$(COMMIT_HASH) \
|
-DWINPTY_COMMIT_HASH=$(COMMIT_HASH) \
|
||||||
-MMD -Wall \
|
-MMD -Wall \
|
||||||
|
Loading…
Reference in New Issue
Block a user