cvw/pipelined/src/fma/Makefile

11 lines
324 B
Makefile
Raw Normal View History

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