From c4585d7cfd92a295e17500a0d3ddfedf95d92cdd Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 20 Oct 2025 00:36:29 -0400 Subject: Deduplicate Num code using the same templating technique as integers --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c6cd808e..6b71a346 100644 --- a/Makefile +++ b/Makefile @@ -163,6 +163,9 @@ config.mk: configure.sh # 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 +# Num implementations depend on the shared header: +src/stdlib/num32.o src/stdlib/num64.o: src/stdlib/numX.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