mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-29 13:03:42 +01:00
Change PREFIX and LIBDIR to lowercase
This is the standard name.
This commit is contained in:
parent
251814ebb3
commit
bb40f6c7a8
2 changed files with 4 additions and 4 deletions
4
Make.inc
4
Make.inc
|
@ -4,8 +4,8 @@ OS := $(shell uname)
|
||||||
VERSION = 0.1.0
|
VERSION = 0.1.0
|
||||||
VERSION_SPLIT = $(subst ., , $(VERSION))
|
VERSION_SPLIT = $(subst ., , $(VERSION))
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
PREFIX = /usr/local
|
prefix = /usr/local
|
||||||
libdir = $(PREFIX)/lib
|
libdir = $(prefix)/lib
|
||||||
|
|
||||||
FC = gfortran
|
FC = gfortran
|
||||||
FFLAGS += -O3
|
FFLAGS += -O3
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -43,6 +43,6 @@ distclean:
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
mkdir -p $(DESTDIR)$(libdir)
|
mkdir -p $(DESTDIR)$(libdir)
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/include
|
mkdir -p $(DESTDIR)$(prefix)/include
|
||||||
cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/
|
cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/
|
||||||
cp -a src/openlibm.h $(DESTDIR)$(PREFIX)/include/
|
cp -a src/openlibm.h $(DESTDIR)$(prefix)/include/
|
||||||
|
|
Loading…
Reference in a new issue