summaryrefslogtreecommitdiff
path: root/Makefile
blob: fee1c828329bb78340e8083829c2826ffe2535e1 (plain)
1
2
3
4
5
6
7
8
9
10

SRC_DIR = src
BUILD_DIR = build
INCLUDE_DIR = include

SRCS = $(wildcard $SRC_DIR/*.c)
OBJS = $(addprefix $(BUILD_DIR)/artifacts, $(addsuffix .o, $(basename $(SRCS))))

build: $(OBJS)
	gcc -shared -o $(BUILD_DIR)/libopensmarts.so $(OBJS)