diff options
Diffstat (limited to 'build/Linux-x86_64-GCC')
-rw-r--r-- | build/Linux-x86_64-GCC/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/build/Linux-x86_64-GCC/Makefile b/build/Linux-x86_64-GCC/Makefile index 09debc6..7624225 100644 --- a/build/Linux-x86_64-GCC/Makefile +++ b/build/Linux-x86_64-GCC/Makefile @@ -56,6 +56,7 @@ COMPILE_SLOWFLOAT_C = \ $(C_INCLUDES) -O3 -o $@ MAKELIB = ar crs $@ LINK = gcc -lm -o $@ +LIBS = -lm OBJ = .o LIB = .a @@ -241,7 +242,7 @@ testsoftfloat$(OBJ): \ $(COMPILE_C) $(SOURCE_DIR)/testsoftfloat.c testsoftfloat$(EXE): $(OBJS_TESTSOFTFLOAT) testfloat$(LIB) $(SOFTFLOAT_LIB) - $(LINK) $^ + $(LINK) $^ $(LIBS) OBJS_TIMESOFTFLOAT = timesoftfloat$(OBJ) @@ -251,7 +252,7 @@ timesoftfloat$(OBJ): \ $(COMPILE_C) $(SOURCE_DIR)/timesoftfloat.c timesoftfloat$(EXE): $(OBJS_TIMESOFTFLOAT) testfloat$(LIB) $(SOFTFLOAT_LIB) - $(LINK) $^ + $(LINK) $^ $(LIBS) OBJS_TESTFLOAT_GEN = genLoops$(OBJ) testfloat_gen$(OBJ) @@ -267,7 +268,7 @@ testfloat_gen$(OBJ): \ $(COMPILE_C) $(SOURCE_DIR)/testfloat_gen.c testfloat_gen$(EXE): $(OBJS_TESTFLOAT_GEN) testfloat$(LIB) $(SOFTFLOAT_LIB) - $(LINK) $^ + $(LINK) $^ $(LIBS) OBJS_TESTFLOAT_VER = verLoops$(OBJ) testfloat_ver$(OBJ) @@ -284,7 +285,7 @@ testfloat_ver$(OBJ): \ $(COMPILE_C) $(SOURCE_DIR)/testfloat_ver.c testfloat_ver$(EXE): $(OBJS_TESTFLOAT_VER) testfloat$(LIB) $(SOFTFLOAT_LIB) - $(LINK) $^ + $(LINK) $^ $(LIBS) OBJS_TESTFLOAT = subjfloat$(OBJ) subjfloat_functions$(OBJ) testfloat$(OBJ) @@ -304,7 +305,7 @@ testfloat$(OBJ): \ $(COMPILE_C) $(SOURCE_DIR)/testfloat.c testfloat$(EXE): $(OBJS_TESTFLOAT) testfloat$(LIB) $(SOFTFLOAT_LIB) - $(LINK) $^ + $(LINK) $^ $(LIBS) .PHONY: clean clean: |