Skip to content

Commit 2bf8470

Browse files
Feat(automatic): push all modification on file.
1 parent 5f147e2 commit 2bf8470

File tree

3 files changed

+1448
-9
lines changed

3 files changed

+1448
-9
lines changed

.DS_Store

6 KB
Binary file not shown.

Makefile

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
# By: caalbert <caalbert@student.42sp.org.br> +#+ +:+ +#+ #
77
# +#+#+#+#+#+ +#+ #
88
# Created: 2023/01/31 12:50:52 by caalbert #+# #+# #
9-
# Updated: 2023/05/22 10:35:56 by caalbert ### ########.fr #
9+
# Updated: 2023/07/29 14:12:32 by caalbert ### ########.fr #
1010
# #
1111
# **************************************************************************** #
1212

13+
1314
NAME := fdf
1415
BONUSNAME := fdf_bonus
1516
CC := cc
@@ -61,7 +62,7 @@ LIBFT := ${LIBFTDIR}libft.a
6162
ifeq (${UNAME}, Linux)
6263
MLXFLAGS := -lmlx -Ilmlx -lXext -lX11
6364
else
64-
MLXFLAGS := -L./minilibx/ -lmlx -Ilmlx -L/opt/X11/lib -lXext -lX11 -framework OpenGL -framework AppKit
65+
MLXFLAGS := -L./minilibx/ -lmlx -Ilmlx -L/opt/homebrew/lib -lXext -lX11 -framework OpenGL -framework AppKit
6566
endif
6667
LIBS := ${MLXFLAGS} -L${LIBFTDIR} -lft -lm
6768
INCS := -I${HEADDIR} -I${LIBFTDIR}
@@ -72,6 +73,9 @@ GREEN := \033[1;32m
7273
RED := \033[1;31m
7374
RESET := \033[0m
7475

76+
CPATH := /opt/homebrew/include
77+
export CPATH
78+
7579
${NAME}: ${LIBFT} ${OBJSDIR} ${OBJS}
7680
@echo ""
7781
@echo "${YELLOW}\t * Compiling ${NAME}\n${CYAN}"
@@ -154,10 +158,5 @@ push:
154158
@echo "\033[1;38m \n" ;
155159
@git commit -m "Feat(automatic): push all modification on file." -v;
156160
@echo "\033[1;36m \n" ;
157-
@git push -v;
158-
@echo "\n\n${GREEN}\t * Pushing complete * ${RESET}\n\n" ;
159-
160-
pull:
161-
@echo "\n\n\${YELLOW}\t * Starting Updated project * ${RESET}" ;
162-
@git pull --l
163-
@echo "${GREEN}\t * Project Updated * ${RESET}\n\n" ;
161+
@git push;
162+
@echo "\n\n${YELLOW}\t * Finished pushing - Feat(automatic) * ${RESET}" ;

0 commit comments

Comments
 (0)