Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC = gcc
- NAME = crusader
- SRC = main.c \
- includes/my_putchar.c \
- includes/my_putstr.c \
- includes/my_put_nbr.c \
- includes/algo.c \
- includes/fonctions1.c \
- OBJ = $(SRC:%.c=%.o)
- RM = rm -f
- CFLAGS = -W -Wall -Werror -ansi -pedantic -I.
- $(NAME): $(OBJ)
- $(CC) $(OBJ) -o $(NAME)
- $(RM) $(OBJ)
- all: $(NAME)
- clean:
- $(RM) $(OBJ)
- fclean: clean
- $(RM) $(NAME)
- re: fclean all
- .PHONY: clean fclean re
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement