Skip to content

Commit bb40f6c

Browse files
committed
Change PREFIX and LIBDIR to lowercase
This is the standard name.
1 parent 251814e commit bb40f6c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Make.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ OS := $(shell uname)
44
VERSION = 0.1.0
55
VERSION_SPLIT = $(subst ., , $(VERSION))
66
DESTDIR =
7-
PREFIX = /usr/local
8-
libdir = $(PREFIX)/lib
7+
prefix = /usr/local
8+
libdir = $(prefix)/lib
99

1010
FC = gfortran
1111
FFLAGS += -O3

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ distclean:
4343

4444
install: all
4545
mkdir -p $(DESTDIR)$(libdir)
46-
mkdir -p $(DESTDIR)$(PREFIX)/include
46+
mkdir -p $(DESTDIR)$(prefix)/include
4747
cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/
48-
cp -a src/openlibm.h $(DESTDIR)$(PREFIX)/include/
48+
cp -a src/openlibm.h $(DESTDIR)$(prefix)/include/

0 commit comments

Comments
 (0)