aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-10-20 00:09:13 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-10-20 00:09:13 -0400
commit43a28773cf1ddc52d5ab605d056092eb47ee3b0c (patch)
tree09e6ffbc83b5b08eb20829adf3b8576097aee5b1
parent2230fadc3fb09bb21745a058f729b03c0515da2f (diff)
Make sure integer object files recompile when shared template file
changes.
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5f0978ca..c6cd808e 100644
--- a/Makefile
+++ b/Makefile
@@ -160,6 +160,9 @@ config.mk: configure.sh
@$(ECHO) $(CC) $(CFLAGS_PLACEHOLDER) -c $< -o $@
@$(CC) $(CFLAGS) -c $< -o $@
+# Integer implementations depend on the shared header:
+src/stdlib/int64.o src/stdlib/int32.o src/stdlib/int16.o src/stdlib/int8.o: src/stdlib/intX.c.h
+
# Specifically src/tomo.c needs to recompile if CHANGES.md changes:
src/tomo.o: src/tomo.c src/ast.h src/environment.h src/types.h config.mk src/changes.md.h
@$(ECHO) $(CC) $(CFLAGS_PLACEHOLDER) -c $< -o $@