Changed the default of '/usr/lib' to '/usr/local/lib'

This commit is contained in:
hellisabove 2022-01-29 11:39:13 +02:00
parent b05a9d965f
commit a7aa8f08b7
2 changed files with 9 additions and 6 deletions

View file

@ -6,8 +6,8 @@ CC = cc
DESTDIR = /usr
ifeq ($(shell uname), Linux)
PREFIX = bin
LIBDIR = lib
PREFIX = local/bin
LIBDIR = local/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 = bin
LIBDIR = lib
PREFIX = local/bin
LIBDIR = local/lib
MANDIR = share/man/man1
else ifeq ($(shell uname), windows32)
CC = gcc
@ -53,6 +53,9 @@ termux_uninstall:
rm -rf $(DESTDIR)/data/data/com.termux/files$(PREFIX)/$(NAME)
rm -rf $(DESTDIR)/data/data/com.termux/files/usr/lib/uwufetch/
clean:
rm $(NAME)
man:
gzip --keep $(NAME).1