-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (38 loc) · 1.03 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
40
41
42
43
44
45
46
47
48
##
## Makefile for Makefile in /home/paumar_a/rendu/cpp_va
##
## Made by cedric paumard
## Login <[email protected]>
##
## Started on Sun Jul 20 00:53:21 2014 cedric paumard
## Last update Wed Aug 6 19:26:11 2014 cedric paumard
##
SRCS = main.cpp \
Main.cpp \
Menu/Menu.cpp \
Menu/MenuChoose.cpp \
Menu/Param.cpp \
Menu/Param_getter.cpp \
Menu/Param_setter.cpp \
Map/Render.cpp \
Event/MyEvent.cpp \
Graph/Texture/MyTexture.cpp \
Graph/Texture/MenuGetter.cpp \
Graph/Text/MyText.cpp \
Graph/Text/MyTextMapGetter.cpp \
Graph/Text/MyTextMenuGetter.cpp \
Graph/Text/MyTextOtherGetter.cpp \
Graph/Text/MyTextUnitGetter.cpp \
OBJ = $(SRCS:.cpp=.o)
NAME = shootandrun
CXXFLAGS+= -Wall -Wextra -Werror
CXXFLAGS+= -I Menu -I External_Objects/SFML-2.1/Include/SFML -I Graph/Text -I Graph/Texture -I Event -I Map
all : $(NAME)
$(NAME) : $(OBJ)
clang++ -o $(NAME) $(OBJ) -lsfml-graphics -lsfml-window -lsfml-system
clean :
rm -rf $(OBJ)
fclean : clean
rm -rf $(NAME)
re : fclean all
.PHONY : all clean fclean re