diff options
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 =====================================# |