mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-02 17:55:19 +00:00
Update fpcalc Makefile
This commit is contained in:
parent
e3e205ad79
commit
7fea22e48a
@ -1,15 +1,10 @@
|
|||||||
# Makefile
|
# fpcalc Makefile
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -O3 -Wno-format-overflow
|
CFLAGS = -O3 -Wno-format-overflow
|
||||||
# Link against the riscv-isa-sim version of SoftFloat rather than
|
IFLAGS = -I$(WALLY)/addins/berkeley-softfloat-3/source/include/
|
||||||
# the regular version to get RISC-V NaN behavior
|
LIBS = $(WALLY)/addins/berkeley-softfloat-3/build/Linux-x86_64-GCC/softfloat.a -lm -lquadmath
|
||||||
IFLAGS = -I$(RISCV)/riscv-isa-sim/softfloat
|
|
||||||
LIBS = $(RISCV)/riscv-isa-sim/build/libsoftfloat.a -lm -lquadmath
|
|
||||||
#IFLAGS = -I../../../addins/berkeley-softfloat-3/source/include/
|
|
||||||
#LIBS = ../../../addins/berkeley-softfloat-3/build/Linux-x86_64-GCC/softfloat.a -lm -lquadmath
|
|
||||||
SRCS = $(wildcard *.c)
|
SRCS = $(wildcard *.c)
|
||||||
|
|
||||||
PROGS = $(patsubst %.c,%,$(SRCS))
|
PROGS = $(patsubst %.c,%,$(SRCS))
|
||||||
|
|
||||||
all: $(PROGS)
|
all: $(PROGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user