From 4dbf651bc15a11ce7995c88c4b48a4050e762da5 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Tue, 10 Dec 2019 10:26:24 +0100 Subject: Compile on linux --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5b221a9..a6f7b1a 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ CC = gcc -CFLAGS = -Wall -Wextra -std=c11 -fwrapv -fPIC +CFLAGS = -Wall -Wextra -std=c11 -fwrapv -fPIC -pthread ifneq ($(DEBUG),) CFLAGS += -g else CFLAGS += -O2 endif -LDFLAGS = -ldl +LDFLAGS = -ldl -pthread BIN = cserver PLUGINDIR = plugins -- cgit v1.2.3-70-g09d2