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 CC = gcc
CFLAGS = -Wall -g -c -std=gnu11 CFLAGS = -Wall -g -c -std=gnu11
LDFLAGS = -lrt LDFLAGS = -pthread
BUILD_DIR = build BUILD_DIR = build
BINARY_NAME = mailbox BINARY_NAME = mailbox
OBJ_FILES = $(patsubst %.c,$(BUILD_DIR)/%.o,$(wildcard *.c)) OBJ_FILES = $(patsubst %.c,$(BUILD_DIR)/%.o,$(wildcard *.c))