on linux we need -lm for sqrt

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-23 10:24:17 +02:00
parent 8465f98f37
commit ab440743eb

View file

@ -45,7 +45,7 @@ test_ast: $(OBJ_A) $(OBJ)
test_ir: $(OBJ_I) $(OBJ) test_ir: $(OBJ_I) $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(CC) -o $@ $^ $(CFLAGS)
qcvm: $(OBJ_X) qcvm: $(OBJ_X)
$(CC) -o $@ $^ $(CFLAGS) $(CC) -o $@ $^ $(CFLAGS) -lm
exec.o: execloop.h exec.o: execloop.h
exec-standalone.o: execloop.h exec-standalone.o: execloop.h
test: test_ast test_ir test: test_ast test_ir