From d748d73b31fe0f7e40ee065f63d11d9439fcdbc5 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Thu, 9 Aug 2018 16:27:19 +0000 Subject: [PATCH] Add back install and uninstall rules They were removed in 3435b2669e745efa8d1540a5c245e0f8a1ef6ab0 --- Makefile.libretro | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index b65ff76e..c64ac964 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -13,6 +13,9 @@ else ifneq ($(findstring win,$(UNAME)),) platform = win endif +prefix := /usr +libdir := $(prefix)/lib + LIBRETRO_DIR := libretro TARGET_NAME := dosbox WITH_DYNAREC := @@ -191,4 +194,10 @@ endif clean: rm -f $(OBJECTS) $(TARGET) +install: + install -D -m 755 $(TARGET) $(DESTDIR)$(libdir)/$(LIBRETRO_DIR)/$(TARGET) + +uninstall: + rm $(DESTDIR)$(libdir)/$(LIBRETRO_DIR)/$(TARGET) + .PHONY: clean install uninstall