Fixed rust, named the libraries sdk's, better examples
This commit is contained in:
4
Makefile
4
Makefile
@@ -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)" \
|
||||
|
||||
Reference in New Issue
Block a user