Browse Source

[enh] makefile: rename git rule and add 'git status' command.

Moul 4 years ago
parent
commit
0326544f15
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Makefile

+ 4 - 3
Makefile

@@ -6,7 +6,7 @@
 #    By: mazimi <mazimi@student.42.fr>              +#+  +:+       +#+         #
 #                                                 +#+#+#+#+#+   +#+            #
 #    Created: 2014/11/05 11:09:24 by mazimi            #+#    #+#              #
-#    Updated: 2016/02/27 18:47:53 by mazimi           ###   ########.fr        #
+#    Updated: 2016/02/27 18:50:29 by mazimi           ###   ########.fr        #
 #                                                                              #
 # **************************************************************************** #
 
@@ -121,8 +121,9 @@ re: fclean all
 norm:
 	@norminette $(SRC) libft.h | grep -B 1 "Error"
 
-diff:
+git:
 	@clear
+	@git status
 	@git diff
 
-.PHONY: all, clean, fclean, re, norm, diff
+.PHONY: all, clean, fclean, re, norm, git