forked from stephgalibert/Epitech-Nanotekspice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 688 Bytes
/
Makefile
File metadata and controls
41 lines (29 loc) · 688 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
##
## Makefile for nano in /home/galibe_s/rendu/cpp_nanotekspice
##
## Made by stephane galibert
## Login <galibe_s@epitech.net>
##
## Started on Sun Feb 14 17:33:48 2016 stephane galibert
## Last update Wed Feb 24 20:18:51 2016 stephane galibert
##
CXX = g++
NAME = nanotekspice
RM = rm -f
CXXFLAGS += -std=c++11
CXXFLAGS += -Werror -Wall -Wextra
CXXFLAGS += -I./lib/include/
LDFLAGS += -L./ -lnanotekspice
SRCS = ./main.cpp
OBJS = $(SRCS:.cpp=.o)
all: $(NAME)
$(NAME): $(OBJS)
make -C ./lib/
$(CXX) $(OBJS) $(CXXFLAGS) $(LDFLAGS) -o $(NAME)
clean:
make clean -C ./lib/
$(RM) $(OBJS)
fclean: clean
make fclean -C ./lib/
$(RM) $(NAME)
re: fclean all