Merge pull request 'Makefile useses ENV-Variable to enable Mutex' (#5) from MrBesen/Log:makefile into master

Reviewed-on: https://git.okaestne.de/okaestne/Log/pulls/5
This commit is contained in:
Oliver 2021-07-13 21:46:36 +02:00
commit 6a72941b00

View File

@ -1,6 +1,7 @@
TARGET = Log.o TARGET = Log.o
TEST = test 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 .PHONY: all clean