Skip to content

Commit b6836fe

Browse files
added comments
1 parent a5974a1 commit b6836fe

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Makefile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
all: libfloat128.so
22

3+
4+
5+
#location of mpfr.h:
36
INCMPFR = $(HOME)/LibDownloads/mpfr-3.1.3/src
7+
8+
#location of mparam.h:
49
INCMPARAM = $(HOME)/LibDownloads/mpfr-3.1.3/src/x86_64/core2
10+
11+
#location of gmp.h:
512
INCGMP = $(HOME)/LibDownloads/gmp-6.1.0/
613

14+
#location of shared quadmath library:
715
LIBQUADMATH = /usr/lib/x86_64-linux-gnu/libquadmath.so.0
16+
17+
#location of shared mpfr library used by Julia:
818
LIBMPFR = /usr/lib/x86_64-linux-gnu/libmpfr.so.4
919

20+
21+
1022
float128.o: float128.c
1123
gcc -O3 -fPIC -c -o float128.o float128.c
1224

@@ -22,7 +34,7 @@ get_float128.o: get_float128.c
2234

2335
libfloat128.so: float128.o set_float128.o get_float128.o
2436
gcc -shared -o libfloat128.so float128.o set_float128.o get_float128.o \
25-
$(LIBMPFR) $(LIBQUADMATH)
37+
$(LIBMPFR) $(LIBQUADMATH)
2638

2739

2840

0 commit comments

Comments
 (0)