simplified fma Makefile

This commit is contained in:
David Harris 2022-02-26 19:55:42 +00:00
parent 1852eccaab
commit 8a55935456

View File

@ -1,10 +1,10 @@
TARGET ?= fma TARGET ?= fma
# for some reason, softfloat.a needs to be symlinked to the local directory. -L isn't working
$(TARGET): $(TARGET).c Makefile $(TARGET): $(TARGET).c Makefile
gcc -c -I../../../addins/SoftFloat-3e/source/include -O2 -o $(TARGET).o $(TARGET).c gcc -O2 -o $(TARGET) $(TARGET).c softfloat.a \
gcc -L../../../addins/SoftFloat-3e/build/Linux-x86_64-GCC \ -I../../../addins/SoftFloat-3e/source/include \
-o $(TARGET) $(TARGET).o softfloat.a \ -L../../../addins/SoftFloat-3e/build/Linux-x86_64-GCC
clean: clean:
rm $(TARGET).o
rm $(TARGET) rm $(TARGET)