macOS location is '/usr/local/lib' and the rest is back to '/usr/lib'
This commit is contained in:
parent
dd8a1646d8
commit
460a17d04d
2 changed files with 10 additions and 6 deletions
8
Makefile
8
Makefile
|
|
@ -6,8 +6,8 @@ CC = cc
|
|||
DESTDIR = /usr
|
||||
|
||||
ifeq ($(shell uname), Linux)
|
||||
PREFIX = local/bin
|
||||
LIBDIR = local/lib
|
||||
PREFIX = bin
|
||||
LIBDIR = lib
|
||||
MANDIR = share/man/man1
|
||||
else ifeq ($(shell uname), Darwin)
|
||||
PREFIX = local/bin
|
||||
|
|
@ -16,8 +16,8 @@ else ifeq ($(shell uname), Darwin)
|
|||
else ifeq ($(shell uname), FreeBSD)
|
||||
CFLAGS += -D__FREEBSD__
|
||||
CFLAGS_DEBUG += -D__FREEBSD__
|
||||
PREFIX = local/bin
|
||||
LIBDIR = local/lib
|
||||
PREFIX = bin
|
||||
LIBDIR = lib
|
||||
MANDIR = share/man/man1
|
||||
else ifeq ($(shell uname), windows32)
|
||||
CC = gcc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue