From 8a55935456c32b020d9f70d693ffb7cd27e15d12 Mon Sep 17 00:00:00 2001 From: David Harris Date: Sat, 26 Feb 2022 19:55:42 +0000 Subject: [PATCH] simplified fma Makefile --- pipelined/src/fma/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pipelined/src/fma/Makefile b/pipelined/src/fma/Makefile index 75bd56e5a..270954f72 100644 --- a/pipelined/src/fma/Makefile +++ b/pipelined/src/fma/Makefile @@ -1,10 +1,10 @@ TARGET ?= fma +# for some reason, softfloat.a needs to be symlinked to the local directory. -L isn't working $(TARGET): $(TARGET).c Makefile - gcc -c -I../../../addins/SoftFloat-3e/source/include -O2 -o $(TARGET).o $(TARGET).c - gcc -L../../../addins/SoftFloat-3e/build/Linux-x86_64-GCC \ - -o $(TARGET) $(TARGET).o softfloat.a \ + gcc -O2 -o $(TARGET) $(TARGET).c softfloat.a \ + -I../../../addins/SoftFloat-3e/source/include \ + -L../../../addins/SoftFloat-3e/build/Linux-x86_64-GCC clean: - rm $(TARGET).o rm $(TARGET)