From 43a28773cf1ddc52d5ab605d056092eb47ee3b0c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 20 Oct 2025 00:09:13 -0400 Subject: Make sure integer object files recompile when shared template file changes. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 $@ -- cgit v1.2.3