Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.62 KB | None | 0 0
  1. NAME:=fillit
  2.  
  3. all: $(NAME)
  4.  
  5. $(NAME):
  6.     @make -C libft/ fclean && make -C libft/
  7.     @gcc -Wall -Wextra -Werror -I libft/includes -o reader.o -c reader.c
  8.     @gcc -Wall -Wextra -Werror -I libft/includes -o ft_new.o -c ft_new.c
  9.     @gcc -Wall -Wextra -Werror -I libft/includes -o ft_free.o -c ft_free.c
  10.     @gcc -Wall -Wextra -Werror -I libft/includes -o main.o -c main.c
  11.     @gcc -Wall -Wextra -Werror -I libft/includes -o solver.o -c solver.c
  12.     @gcc -o $(NAME) reader.o ft_free.o ft_new.o main.o solver.o -I libft/includes -L libft/ -lft
  13.  
  14. clean:
  15.     rm -rf *.o
  16.  
  17. fclean: clean
  18.     rm -rf $(NAME)
  19.     make -C libft/ fclean
  20.  
  21. re: fclean all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement