summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 683aecf..1959fe4 100644
--- a/Makefile
+++ b/Makefile
@@ -52,8 +52,8 @@ re: fclean all
install:
@echo '######## Installing $(basename $(NAME)) ########'
- cp $(NAME) /usr/lib/
- cp $(HEADERS) /usr/include/sdl-digit/
+ install -D $(NAME) --target-directory=/usr/lib/
+ install -D $(HEADERS) --target-directory=/usr/include/sdl-digit/
debug: CFLAGS += $(DEBUG)
debug: re