We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 251814e commit bb40f6cCopy full SHA for bb40f6c
2 files changed
Make.inc
@@ -4,8 +4,8 @@ OS := $(shell uname)
4
VERSION = 0.1.0
5
VERSION_SPLIT = $(subst ., , $(VERSION))
6
DESTDIR =
7
-PREFIX = /usr/local
8
-libdir = $(PREFIX)/lib
+prefix = /usr/local
+libdir = $(prefix)/lib
9
10
FC = gfortran
11
FFLAGS += -O3
Makefile
@@ -43,6 +43,6 @@ distclean:
43
44
install: all
45
mkdir -p $(DESTDIR)$(libdir)
46
- mkdir -p $(DESTDIR)$(PREFIX)/include
+ mkdir -p $(DESTDIR)$(prefix)/include
47
cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/
48
- cp -a src/openlibm.h $(DESTDIR)$(PREFIX)/include/
+ cp -a src/openlibm.h $(DESTDIR)$(prefix)/include/
0 commit comments