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

Should work For Real This Time™️.
master
Mid Favila 2 months ago
parent ad5abd23e2
commit facda46907
  1. 4
      src/Makefile

@ -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…
Cancel
Save