Skip to content

Commit

Permalink
fix: respect PREFIX in Makefile (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
czadowanie authored Nov 14, 2023
1 parent d6856ad commit 38e18b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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 += -I. -DWLR_USE_UNSTABLE -std=c99
Expand Down Expand Up @@ -71,4 +71,4 @@ all:

install:
make all
cp ./build/hyprpaper /usr/bin -f
cp ./build/hyprpaper $(PREFIX)/bin -f

0 comments on commit 38e18b7

Please sign in to comment.