-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
39 lines (27 loc) · 1.26 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: frmarinh <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2017/03/07 12:48:21 by frmarinh #+# #+# #
# Updated: 2017/03/07 15:00:34 by frmarinh ### ########.fr #
# #
# **************************************************************************** #
NAME = War
SRCS = \
srcs/main.c \
srcs/aes.c \
O_FILE = $(SRCS:.c=.o)
FLAGS = -mwindows -ggdb
INCLUDES = -I includes/ -I C:/OpenSSL-Win64/include -I C:/mingw/include
LIBRARY = -L C:/OpenSSL-Win64/lib -lssl -lcrypto
#FLAGS = -Wall -Wextra -Werror
all: $(NAME)
$(NAME):
@gcc $(SRCS) $(INCLUDES) -o $(NAME) $(LIBRARY) $(FLAGS)
clean:
@del $(NAME).exe
fclean: clean
re: fclean all