From c984945d419655bf05d95ff7e545e6f06f08fa58 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Sun, 17 Aug 2025 10:57:29 -0700 Subject: [PATCH] fix: add -lm to gen_fx_consts Makefile --- tools/gen_fx_consts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gen_fx_consts/Makefile b/tools/gen_fx_consts/Makefile index 9c9d3f4e..1770743f 100644 --- a/tools/gen_fx_consts/Makefile +++ b/tools/gen_fx_consts/Makefile @@ -17,7 +17,7 @@ all: $(prog) clean: ; $(RM) -r $(DEPDIR) $(OBJS) $(prog) $(prog).exe $(prog): $(OBJS) - $(CC) $(LDFLAGS) -o $@ $^ + $(CC) $(LDFLAGS) -lm -o $@ $^ $(OBJS): %.o: %.c $(OBJS): %.o: %.c $(DEPDIR)/%.d | $(DEPDIR)