fix: respect PREFIX in Makefile (#106)

This commit is contained in:
czadowanie 2023-11-14 14:52:08 +01:00 committed by GitHub
parent d6856adaff
commit 38e18b7077
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
PREFIX = /usr/local PREFIX ?= /usr
CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement
CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99
@ -71,4 +71,4 @@ all:
install: install:
make all make all
cp ./build/hyprpaper /usr/bin -f cp ./build/hyprpaper $(PREFIX)/bin -f