summaryrefslogtreecommitdiffstats
path: root/Makefile
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
commit19fd3737ddabf50fb4a94e3be2c0fb5529b7c1e8 (patch)
tree29f0538b5b42dbe170bde45a956ec96ab8b56663 /Makefile
parentd44630dd678e7435753d6452fdb3e28a45243f69 (diff)
downloadtxr-19fd3737ddabf50fb4a94e3be2c0fb5529b7c1e8.tar.gz
txr-19fd3737ddabf50fb4a94e3be2c0fb5529b7c1e8.tar.bz2
txr-19fd3737ddabf50fb4a94e3be2c0fb5529b7c1e8.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.
Diffstat (limited to 'Makefile')
-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)