makefile useses env variable to enable mutex

This commit is contained in:
mrbesen 2021-07-12 23:24:01 +02:00
parent 4e4e85fe35
commit 7264c46ddb
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
TARGET = Log.o
TEST = test
CFLAGS = -O2 -std=c++11 -Wall -Wextra -pedantic-errors -g
LOG_USEMUTEX ?= 0
CFLAGS = -O2 -std=c++11 -Wall -Wextra -pedantic-errors -g -DLOG_USEMUTEX=$(LOG_USEMUTEX)
.PHONY: all clean