Add -pthread to LDFLAGS

master
Nick Krichevsky 2019-09-21 19:35:42 -04:00
parent df7caa3f56
commit 0ba6de5532
1 changed files with 1 additions and 1 deletions

View File

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