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!"