From feccf0adf3e6861b11a7768669a63c327f77ec10 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Wed, 1 May 2024 03:11:07 -0400 Subject: Vector code --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9c1555e..f2e5640 100644 --- a/Makefile +++ b/Makefile @@ -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/$@ $< -- cgit v1.2.3