summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-04-07 08:03:40 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-04-07 08:03:40 -0700
commit49c0fd79a7b81d203039c2d2f2640545a67b0f78 (patch)
tree29f0538b5b42dbe170bde45a956ec96ab8b56663
parent17e3178a5bd5da2e731f11eba3cbcca98d179470 (diff)
downloadtxr-49c0fd79a7b81d203039c2d2f2640545a67b0f78.tar.gz
txr-49c0fd79a7b81d203039c2d2f2640545a67b0f78.tar.bz2
txr-49c0fd79a7b81d203039c2d2f2640545a67b0f78.zip
build: don't rebuild tlo's all the time.
* Makefile (%.tlo, %.tlo2): Drop dependency on $(TXR). Of course, the dependency is strictly correct, but most changes to TXR are irrelevant. Moreover, not all relevant dependencies are in place anyway; if we change compile.tl, only the compile.tlo is recompiled.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b192d565..505903a7 100644
--- a/Makefile
+++ b/Makefile
@@ -184,10 +184,10 @@ opt/%-win.o: $(top_srcdir)%.c
win/%.res: $(top_srcdir)win/%.rc $(top_srcdir)win/%.ico
$(call WINDRES)
-%.tlo: %.tl $(TXR)
+%.tlo: %.tl
$(call COMPILE_TL)
-%.tlo2: %.tl $(TXR)
+%.tlo2: %.tl
$(call COMPILE_TL)
$(call SH,F=$@ T=$${F%.tlo2}.tlo; cmp -s $$F $$T || cp $$F $$T)