aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile16
1 files 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 =====================================#