Fixed rust, named the libraries sdk's, better examples

This commit is contained in:
2024-06-16 00:59:04 +03:00
parent 407faab33a
commit f55279b7ef
20 changed files with 229 additions and 226 deletions

View File

@@ -4,7 +4,7 @@ CWD := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
PLUGIN_DIR = ${CWD}plugins
OBJECT_DIR = $(CWD)target/objects
BUILD_DIR = $(CWD)target
DIM_CC_FLAGS = -I$(CWD)include -rdynamic -shared -fPIC
DIM_CC_FLAGS = -I$(CWD)sdk/c_cxx
DIM_CC = gcc
BIN=$(BUILD_DIR)/dim
@@ -21,7 +21,7 @@ target/release/dim:
cargo build --release
dim_plugins/%/Makefile:
$(MAKE) -C $(dir $@) \
@$(MAKE) -C $(dir $@) \
-E "PLUGIN_DIR=$(PLUGIN_DIR)" \
-E "OBJECT_DIR=$(OBJECT_DIR)" \
-E "BUILD_DIR=$(BUILD_DIR)" \