Makefile was installing to /usr when prefix was specified incorrectly.
Should work For Real This Time™️.
This commit is contained in:
parent
ad5abd23e2
commit
facda46907
|
@ -4,7 +4,7 @@ CC = cc
|
|||
CFLAGS = -Wall -O2
|
||||
LDFLAGS = -static
|
||||
LDLIBS =
|
||||
PREFIX = usr/local/bin/
|
||||
PREFIX = usr/local/
|
||||
DESTDIR =
|
||||
BIN = cat\
|
||||
false\
|
||||
|
@ -21,7 +21,7 @@ false: true
|
|||
|
||||
install: all
|
||||
mkdir -p ${DESTDIR}/${PREFIX}
|
||||
install -Dm0755 ${BIN} ${DESTDIR}/${PREFIX}/
|
||||
install -Dm0755 ${BIN} ${DESTDIR}/${PREFIX}/bin/
|
||||
|
||||
clean:
|
||||
rm ${BIN} *.o
|
||||
|
|
Loading…
Reference in New Issue