From 0ba6de5532adef544f2cc3726d37ee34279d8991 Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Sat, 21 Sep 2019 19:35:42 -0400 Subject: [PATCH] Add -pthread to LDFLAGS --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 71044dc..be0d986 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CC = gcc CFLAGS = -Wall -g -c -std=gnu11 -LDFLAGS = -lrt +LDFLAGS = -pthread BUILD_DIR = build BINARY_NAME = mailbox OBJ_FILES = $(patsubst %.c,$(BUILD_DIR)/%.o,$(wildcard *.c))