From 1118775bda217308f2ccbdf27ed29e9bc443cfea Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Dec 2019 02:45:11 +0100 Subject: Makefile update --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index a12fc7d..d4b14a3 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,14 @@ ${NAME}: ${OBJS} #------------------------------------------------------------------------------# all: ${NAME} #------------------------------------------------------------------------------# +clean: + ${RM} ${OBJS_DIR} +#------------------------------------------------------------------------------# +fclean: clean + ${RM} ${TRGT_DIR} +#------------------------------------------------------------------------------# +re: fclean all +#------------------------------------------------------------------------------# install: all mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f bin/lowbat $(DESTDIR)$(PREFIX)/bin/ @@ -76,13 +84,5 @@ uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/lowbat rm -f $(DESTDIR)$(MANPREFIX)/man1/lowbat.1 #------------------------------------------------------------------------------# -clean: - ${RM} ${OBJS_DIR} -#------------------------------------------------------------------------------# -fclean: clean - ${RM} ${TRGT_DIR} -#------------------------------------------------------------------------------# -re: fclean all -#------------------------------------------------------------------------------# .PHONY: all lowbat clean fclean re install uninstall #==================================== EOF =====================================# -- cgit v1.2.3