From ab440743ebb7ebfb79de82b2e2b564f840d02fcd Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 23 Aug 2012 10:24:17 +0200 Subject: [PATCH] on linux we need -lm for sqrt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c30f5dc..6b28f87 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ test_ast: $(OBJ_A) $(OBJ) test_ir: $(OBJ_I) $(OBJ) $(CC) -o $@ $^ $(CFLAGS) qcvm: $(OBJ_X) - $(CC) -o $@ $^ $(CFLAGS) + $(CC) -o $@ $^ $(CFLAGS) -lm exec.o: execloop.h exec-standalone.o: execloop.h test: test_ast test_ir -- 2.39.2