diff options
author | Teddy Wing | 2020-05-06 01:58:49 +0200 |
---|---|---|
committer | Teddy Wing | 2020-05-06 01:58:49 +0200 |
commit | 175cd65ca3fa906ab3d9b663ae932b7d01f071a5 (patch) | |
tree | 3f2296783329f7bd4d1397a8bec568bc67a77643 | |
parent | 1970a744ef186ae136e63d534314bc45a9a4f621 (diff) | |
download | netflix-immersive-175cd65ca3fa906ab3d9b663ae932b7d01f071a5.tar.bz2 |
Makefile: Fix rebuild of non-index.js files
Previously, if I modified any TypeScript file other than `index.ts`,
Make wouldn't rebuild. Depend on all JS files in build/ to ensure the
output script gets rebuilt on changes.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ all: build/netflix-no-skip.user.js build/%.js: src/%.ts $(TSC) -build/netflix-no-skip.user.js: build/index.js src/userscript-header.txt +build/netflix-no-skip.user.js: build/index.js build/*.js src/userscript-header.txt $(BROWSERIFY) $^ -o $@ cat src/userscript-header.txt $@ > $@.tmp |