Replace glib threadpool usage with a 'dumb' thread implementation.
[platform/upstream/iotivity.git] / resource / csdk / connectivity / samples / linux / threadpool / Makefile
1 CC=gcc
2 ROOT_DIR = ../../..
3 INC_DIR := -I$(ROOT_DIR)/api -I$(ROOT_DIR)/inc -I$(ROOT_DIR)/common/inc
4 SRC_DIR := $(ROOT_DIR)/common/src/
5 CFLAGS = -Wall
6
7 OUT = threadpool
8
9 all:
10         $(CC) $(CFLAGS) $(INC_DIR) $(COMPILEFLAGS) $(SRC_DIR)cathreadpool_pthreads.c $(SRC_DIR)umutex.c $(SRC_DIR)/logger.c $(SRC_DIR)/oic_malloc.c main.c -o $(OUT) $(LDFLAGS)
11 clean:
12         rm -f $(OUT)
13