diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-05-01 00:09:40 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-05-01 00:09:40 -0400 |
commit | 0c1b29f06ddcfda2cf47461f846ddee0a320567d (patch) | |
tree | b3d9d103ebf97a08c4bb3363b644eed2d217551d /Makefile | |
parent | c0d309b3be94b89d421ab265ebdfc34438f5dfe6 (diff) |
init make
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
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) |