From 0de7b0eca01a0d12c8a00f99c3165203be3efba1 Mon Sep 17 00:00:00 2001 From: Ivan Epifanov Date: Mon, 14 Dec 2020 02:08:29 +0300 Subject: [PATCH] Fix makefile --- Makefile.vita.dolce | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.vita.dolce b/Makefile.vita.dolce index 6237546af..4e2a6430b 100644 --- a/Makefile.vita.dolce +++ b/Makefile.vita.dolce @@ -53,8 +53,8 @@ clean: @rm -f $(TARGET_LIB) $(OBJS) install: $(TARGET_LIB) - @mkdir -p "$(DOLCESDK)/arm-dolce-eabi/lib" - @cp $(TARGET_LIB) $(DOLCESDK)/arm-dolce-eabi/lib - @mkdir -p "$(DOLCESDK)/arm-dolce-eabi/include/SDL2" - @cp include/*.h "$(DOLCESDK)/arm-dolce-eabi/include/SDL2" + @mkdir -p "$(DESTDIR)$(DOLCESDK)/arm-dolce-eabi/lib" + @cp $(TARGET_LIB) $(DESTDIR)$(DOLCESDK)/arm-dolce-eabi/lib + @mkdir -p "$(DESTDIR)$(DOLCESDK)/arm-dolce-eabi/include/SDL2" + @cp include/*.h "$(DESTDIR)$(DOLCESDK)/arm-dolce-eabi/include/SDL2" @echo "Installed!"