From fc8d368718a907e0d4f3b4565af99a6b1cef0789 Mon Sep 17 00:00:00 2001 From: cpasjuste Date: Thu, 16 Dec 2021 10:07:23 +0100 Subject: [PATCH] makefile: add DESTDIR support --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7445d19..0f79610 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ $(OutPath)/$(TargetFile).a: $(ObjectFiles) $(archive) install: - @cp $(OutPath)/$(TargetFile).a $(ORBISDEV)/usr/lib - @cp include/orbisGl.h $(ORBISDEV)/usr/include/orbis + @cp $(OutPath)/$(TargetFile).a $(DESTDIR)$(ORBISDEV)/usr/lib + @cp include/orbisGl.h $(DESTDIR)$(ORBISDEV)/usr/include/orbis @echo "$(TargetFile) Installed!"