Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
refactor: clean
Browse files Browse the repository at this point in the history
  • Loading branch information
mahautlatinis committed Oct 7, 2023
1 parent a8d6174 commit a64c02c
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/*.o
34 changes: 28 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,36 @@
SRC = ./get_next_line/get_next_line.c \
./get_next_line/get_next_line_utils.c
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: mahautlatinis <[email protected] +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/10/07 16:37:59 by mahautlatin #+# #+# #
# Updated: 2023/10/07 16:38:00 by mahautlatin ### ########.fr #
# #
# **************************************************************************** #

SRC_B = ./get_next_line/bonus/get_next_line_bonus.c \
./get_next_line/bonus/get_next_line_utils_bonus.c
SRC = ./get_next_line/get_next_line.c \
./get_next_line/get_next_line_utils.c

SRC_B = ./get_next_line/bonus/get_next_line_bonus.c \
./get_next_line/bonus/get_next_line_utils_bonus.c

OBJS_DEFAULT = ${SRC:.c=.o}

OBJS_BONUS = ${SRC_B:.c=.o}

NAME = get_next_line

all: ${NAME}
cd tester; ./GNL_lover.sh
all: ${NAME}
cd tester; ./GNL_lover.sh

clean:
@ ${RM} ${OBJS} ${OBJSBONUS}
@ echo "Successfully remove object files"

fclean: clean

re: fclean all

.PHONY: bonus all clean fclean re
Binary file added tester/get_next_line
Binary file not shown.
Binary file modified tester/objects/get_next_line.o
Binary file not shown.
Binary file added tester/objects/main.o
Binary file not shown.

0 comments on commit a64c02c

Please sign in to comment.