fixed makefile to not install unless needed

This commit is contained in:
Zander Thannhauser 2025-03-29 19:07:49 -05:00
parent 89bb34256e
commit cb62c1de4f

View file

@ -8,8 +8,10 @@ help:
echo "which is currently set to ${PREFIX}"
echo "run: make install to make that happen."
install: zpp
install: ${PREFIX}/zpp
${PREFIX}/zpp: zpp
mkdir -p ${PREFIX}
install --backup=numbered -t ${PREFIX} zpp
install --backup=numbered $< $@