summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2019-12-10 10:26:24 +0100
committerTom Smeding <tom.smeding@gmail.com>2019-12-10 10:26:24 +0100
commit4dbf651bc15a11ce7995c88c4b48a4050e762da5 (patch)
tree2c1976ddb2ec3b93fb0aba0066a1a647e5a0406d /Makefile
parentc1d0008f6820ee51b32734597247433ccd84a259 (diff)
Compile on linuxHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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