summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-22 19:51:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-22 19:51:23 +1300
commit533d824c472a65128ffee415818468b0ee8659f8 (patch)
tree128e4a23fe3d2bdd5970bce1b4d17fd28e3dbcd2
parentCreate required dirs (diff)
downloadlibayylmao-533d824c472a65128ffee415818468b0ee8659f8.tar.gz
libayylmao-533d824c472a65128ffee415818468b0ee8659f8.zip
Quote PREFIX
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 82310e3..24f4b01 100644
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,10 @@ CFLAGS = -std=c90 -Weverything -fPIC
all: libayylmao.a libayylmao.so
install: libayylmao.so libayylmao.a
- mkdir -p -- $(PREFIX)/lib $(PREFIX)/include $(PREFIX)/share/man/man3
- install -m 0644 -- *.h $(PREFIX)/include
- install -m 0644 -- *.so *.a $(PREFIX)/lib
- install -m 0644 -- *.3 $(PREFIX)/share/man/man3
+ mkdir -p -- "$(PREFIX)"/lib "$(PREFIX)"/include "$(PREFIX)"/share/man/man3
+ install -m 0644 -- *.h "$(PREFIX)"/include
+ install -m 0644 -- *.so *.a "$(PREFIX)"/lib
+ install -m 0644 -- *.3 "$(PREFIX)"/share/man/man3
clean:
rm -f -- *.a *.o *.so