blob: a92dc6751230d3fcdf95268da0998b6bfe6a0a85 [file] [log] [blame]
INCLUDE_DIR = ../../include/
SRC_DIR = ../ittnotify/
SOURCE_NAME = itt_refcol_impl.c
OBJ_NAME = itt_refcol_impl.o
LIB_NAME = libittnotify_refcol.so
CC ?= gcc
CFLAGS = -I$(INCLUDE_DIR) -I$(SRC_DIR)
build:
$(CC) -fPIC $(CFLAGS) -c $(SOURCE_NAME)
$(CC) -shared -o $(LIB_NAME) $(OBJ_NAME)
clean:
rm $(OBJ_NAME) $(LIB_NAME)