Add -pthread to LDFLAGS
parent
df7caa3f56
commit
0ba6de5532
2
Makefile
2
Makefile
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue