File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ CARGO_FLAGS = $(and $(PROFILE:debug=),--$(PROFILE))
13
13
.PHONY : lua_lib
14
14
lua_lib : target-lua/$(PROFILE ) /libvim_commonmark.so
15
15
16
- target-lua/$(PROFILE ) /libvim_commonmark.so :
16
+ RUST_SOURCES = Cargo.lock $(wildcard src/* .rs)
17
+
18
+ target-lua/$(PROFILE ) /libvim_commonmark.so : $(RUST_SOURCES )
17
19
export LUA_INC=/usr/include/luajit-2.0/
18
20
export LUA_LIB=/usr/lib LUA_LIB_NAME=luajit-5.1
19
21
export LUA_LINK=dynamic
@@ -22,7 +24,7 @@ target-lua/$(PROFILE)/libvim_commonmark.so:
22
24
.PHONY : python_lib
23
25
python_lib : target-python/$(PROFILE ) /libvim_commonmark.so
24
26
25
- target-python/$(PROFILE ) /libvim_commonmark.so :
27
+ target-python/$(PROFILE ) /libvim_commonmark.so : $( RUST_SOURCES )
26
28
cargo build --no-default-features --features python --target-dir target-python $(CARGO_FLAGS )
27
29
28
30
.PHONY : links
You can’t perform that action at this time.
0 commit comments