aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-12-04 02:45:11 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-12-04 02:45:11 +0100
commit1118775bda217308f2ccbdf27ed29e9bc443cfea (patch)
tree7d12171b95b5afc10e537417d2f36893ff865fcc
parentMakefile ready for release (diff)
downloadlowbat-gnu-1118775bda217308f2ccbdf27ed29e9bc443cfea.tar.gz
lowbat-gnu-1118775bda217308f2ccbdf27ed29e9bc443cfea.tar.bz2
lowbat-gnu-1118775bda217308f2ccbdf27ed29e9bc443cfea.tar.xz
lowbat-gnu-1118775bda217308f2ccbdf27ed29e9bc443cfea.tar.zst
lowbat-gnu-1118775bda217308f2ccbdf27ed29e9bc443cfea.zip
Makefile update
-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 =====================================#