From: Wolfgang (Blub) Bumiller Date: Thu, 23 Aug 2012 08:24:17 +0000 (+0200) Subject: on linux we need -lm for sqrt X-Git-Tag: 0.1-rc1~82 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ab440743ebb7ebfb79de82b2e2b564f840d02fcd;p=xonotic%2Fgmqcc.git on linux we need -lm for sqrt --- 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