about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c0bf149..65c0a9c 100644
--- a/Makefile
+++ b/Makefile
@@ -39,12 +39,12 @@ clean:
 	$(MAKE) -C tests clean
 
 install-header:
-	install -m 644 $(H) $(PREFIX)/include
+	install -m 644 $(H) $(DESTDIR)$(PREFIX)/include
 
 install-static: $(SNAME)
-	install -m 755 $(SNAME) $(PREFIX)/lib64
+	install -m 755 $(SNAME) $(DESTDIR)$(PREFIX)/lib64
 
 install-shared: $(DNAME)
-	install -m 755 $(DNAME) $(PREFIX)/lib64
+	install -m 755 $(DNAME) $(DESTDIR)$(PREFIX)/lib64
 
 install: install-header install-static install-shared