Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NAME:=fillit
- all: $(NAME)
- $(NAME):
- @make -C libft/ fclean && make -C libft/
- @gcc -Wall -Wextra -Werror -I libft/includes -o reader.o -c reader.c
- @gcc -Wall -Wextra -Werror -I libft/includes -o ft_new.o -c ft_new.c
- @gcc -Wall -Wextra -Werror -I libft/includes -o ft_free.o -c ft_free.c
- @gcc -Wall -Wextra -Werror -I libft/includes -o main.o -c main.c
- @gcc -Wall -Wextra -Werror -I libft/includes -o solver.o -c solver.c
- @gcc -o $(NAME) reader.o ft_free.o ft_new.o main.o solver.o -I libft/includes -L libft/ -lft
- clean:
- rm -rf *.o
- fclean: clean
- rm -rf $(NAME)
- make -C libft/ fclean
- re: fclean all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement