Skip to content

Commit 83e13e5

Browse files
committed
Merge pull request #47 from mbrubeck/ext-deps
Rebuild when external dependencies change
2 parents d73c9ed + 2d8e9c8 commit 83e13e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ CXXFLAGS ?=
66
AR ?= ar
77
RUSTC ?= rustc
88
RUSTFLAGS ?=
9+
EXT_DEPS ?=
910

1011
RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs')
1112

1213
.PHONY: all
1314
all: libcssparser.dummy
1415

15-
libcssparser.dummy: lib.rs $(RUST_SRC)
16+
libcssparser.dummy: lib.rs $(RUST_SRC) $(EXT_DEPS)
1617
$(RUSTC) $(RUSTFLAGS) $< --out-dir .
1718
touch $@
1819

0 commit comments

Comments
 (0)