From 0c1b29f06ddcfda2cf47461f846ddee0a320567d Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Wed, 1 May 2024 00:09:40 -0400 Subject: init make --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fee1c82 --- /dev/null +++ b/Makefile @@ -0,0 +1,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) -- cgit v1.2.3