diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-05-01 03:11:07 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-05-01 03:11:07 -0400 |
commit | feccf0adf3e6861b11a7768669a63c327f77ec10 (patch) | |
tree | 3aab13f202d0963ce74900dba8a508e68fe93614 /Makefile | |
parent | 21938c4ed611cd0945d62502abdb74527a533e78 (diff) |
Vector code
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,6 +12,12 @@ CFLAGS ?= -Werror -Wall build: build_dir $(OBJS) $(CC) -shared -o $(BUILD_DIR)/libopensmarts.so $(addprefix $(OBJ_DIR)/, $(OBJS)) +install: + install -m 755 ./build/libopensmarts.so /usr/lib64/libopensmarts.so + rm -rf /usr/include/osm + mkdir -p /usr/include/osm + cp -r ./include/osm /usr/include + %.o: $(SRC_DIR)/%.c $(CC) $(CFLAGS) -c -fpic -I$(INCLUDE_DIR) -o $(BUILD_DIR)/artifacts/$@ $< |