From 62002b4ff842e51d4a6fd24c1c04cf225d7af1ce Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Tue, 3 Dec 2019 23:36:57 +0100
Subject: Makefile comments

---
 Makefile | 43 +++++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 14 deletions(-)

diff --git a/Makefile b/Makefile
index 36f2566..63d50e7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,37 +1,52 @@
+#==============================================================================#
+#-------------------------------- Makefile ------------------------------------#
+#==============================================================================#
 .POSIX:
 
 default: all 
-
+#==============================================================================#
+#--------------------------------- Shell --------------------------------------#
+#==============================================================================#
 SHELL		:= /bin/sh
+#==============================================================================#
+#------------------------------ Directories -----------------------------------#
+#==============================================================================#
 SRCS_DIR	= src/
 INCS_DIR	= inc/
 OBJS_DIR	= obj/
 TRGT_DIR	= bin/
-
+#==============================================================================#
+#--------------------------------- Files --------------------------------------#
+#==============================================================================#
 SRCS		= ${SRCS_DIR}main.cpp
 SRCS		+= ${SRCS_DIR}jo_exec.cpp
 SRCS		+= ${SRCS_DIR}jo_notify.cpp
-
+#------------------------------------------------------------------------------#
 INCS		= ${INCS_DIR}jo_lowbat.hpp
-
+#------------------------------------------------------------------------------#
 OBJS		= $(patsubst ${SRCS_DIR}%.cpp,${OBJS_DIR}%.o,${SRCS})
-
+#==============================================================================#
+#-------------------------------- Compiler ------------------------------------#
+#==============================================================================#
 CC			= g++
-CFLAGS		= -Wall
-CFLAGS	 	+= -Wextra
-CFLAGS	 	+= -Werror
-
+#------------------------------------------------------------------------------#
 DEBUG		= -g3
 FSANITIZE	= -fsanitize=address
-
+#------------------------------------------------------------------------------#
 OPTIMIZE	= -O2
-
+#------------------------------------------------------------------------------#
+CFLAGS		= -Wall
+CFLAGS	 	+= -Wextra
+CFLAGS	 	+= -Werror
 CFLAGS		+= ${OPTIMIZE}
-
+#------------------------------------------------------------------------------#
 NAME		= ${TRGT_DIR}lowbat
-
+#==============================================================================#
+#--------------------------------- UNIX ---------------------------------------#
+#==============================================================================#
 MKDIR		= mkdir -p
-
+RM			= rm -rf
+#------------------------------------------------------------------------------#
 OS			= $(shell uname -s)
 ifeq ($(OS), Darwin)
 	PREFIX	= /usr/local
-- 
cgit v1.2.3