Makefile was installing to /usr when prefix was specified incorrectly.

Should work For Real This Time™️.
This commit is contained in:
Mid Favila 2022-10-01 19:04:46 -04:00
parent ad5abd23e2
commit facda46907
1 changed files with 2 additions and 2 deletions

View File

@ -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