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 CFLAGS = -Wall -O2
LDFLAGS = -static LDFLAGS = -static
LDLIBS = LDLIBS =
PREFIX = usr/local/bin/ PREFIX = usr/local/
DESTDIR = DESTDIR =
BIN = cat\ BIN = cat\
false\ false\
@ -21,7 +21,7 @@ false: true
install: all install: all
mkdir -p ${DESTDIR}/${PREFIX} mkdir -p ${DESTDIR}/${PREFIX}
install -Dm0755 ${BIN} ${DESTDIR}/${PREFIX}/ install -Dm0755 ${BIN} ${DESTDIR}/${PREFIX}/bin/
clean: clean:
rm ${BIN} *.o rm ${BIN} *.o