Added -pthread to CFLAGS for linux

This commit is contained in:
Sergey Lyubka committed 2014-10-14 10:05:12 +00:00
1 parent 2f3ddeccc5
commit 911115ccc0
16 files changed
+18 -19

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
# Copyright (c) 2014 Cesanta Software
# All rights reserved
CFLAGS = -W -Wall -I../.. -g -O0 $(CFLAGS_EXTRA)
SOURCES = http_client.c ../../mongoose.c
PROG = http_client
CFLAGS = -W -Wall -I../.. -pthread -g -O0 $(CFLAGS_EXTRA)
SOURCES = $(PROG).c ../../mongoose.c
unix: $(SOURCES)
$(CC) -o $(PROG) $(SOURCES) $(CFLAGS)