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
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