-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (36 loc) · 840 Bytes
/
Makefile
File metadata and controls
50 lines (36 loc) · 840 Bytes
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
40
41
42
43
44
45
46
47
48
49
50
##
## Makefile for Makefile in /home/drozdz_b/rendu/autocompletion
##
## Made by drozdz_b
## Login <drozdz_b@epitech.net>
##
## Started on Thu Jun 30 09:22:15 2016 drozdz_b
## Last update Mon Jul 4 14:06:18 2016 drozdz_b
##
SRC = srcs/main.cpp \
srcs/AddrDictionary.cpp \
srcs/CharTree.cpp \
srcs/Parser.cpp \
srcs/AutoCompletion.cpp \
srcs/ManipStr.cpp \
srcs/StrDictionary.cpp \
srcs/MyException.cpp
NAME = autoCompletion
OBJ = $(SRC:.cpp=.o)
RM = rm -rf
CC = g++
LDFLAGS = -Iinclude/ -IKregex
$CFLAGS += -g
%.o: %.cpp
$(CC) -c -Wall -Werror -Wextra -W -g -o $@ $^ $(LDFLAGS)
$(NAME): $(OBJ)
make -C ./Kregex/
$(CC) -o $(NAME) $(OBJ) -g -L./lib/ -lkregex $(LDFLAGS)
all: $(NAME)
clean:
$(RM) $(OBJ)
make clean -C ./Kregex/
fclean: clean
$(RM) $(NAME)
make fclean -C ./Kregex/
re: fclean all