diff --git a/Makefile.in b/Makefile.in index fd5e7ba..c3ece15 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2,13 +2,14 @@ VPATH=%VPATH% RUSTC ?= rustc RUSTFLAGS ?= +EXT_DEPS ?= RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs') .PHONY: all all: libsharegl.dummy -libsharegl.dummy: lib.rs $(RUST_SRC) +libsharegl.dummy: lib.rs $(RUST_SRC) $(EXT_DEPS) $(RUSTC) $(RUSTFLAGS) $< --out-dir . touch $@