25 lines
352 B
Makefile
25 lines
352 B
Makefile
NAME = rsa
|
|
|
|
SRC = \
|
|
main.c \
|
|
rsa.c \
|
|
bigint.c \
|
|
array.c \
|
|
utils.c \
|
|
|
|
all: $(NAME)
|
|
|
|
$(NAME):
|
|
gcc -Wall -Wextra -Werror -Wunused-function $(SRC) -o $(NAME)
|
|
|
|
fast:
|
|
gcc -Wall -Wextra -Werror -Wunused-function -o3 $(SRC) -o $(NAME)
|
|
|
|
profile:
|
|
gcc -Wall -Wextra -Werror -Wunused-function -pg $(SRC) -o $(NAME)
|
|
|
|
fclean:
|
|
rm -rf $(NAME)
|
|
|
|
re: fclean all
|