-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (32 loc) · 931 Bytes
/
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
##
## Makefile for in /home/hugo/invader
##
## Made by Hugo
## Login <[email protected]>
##
## Started on Sun Jul 22 01:59:10 2018 Hugo
## Last update Sun Jul 22 02:53:35 2018 Hugo
##
CXX = g++
NAME = invader
SRCS = main.cpp \
Core.cpp \
Atribute.cpp
OBJS = $(SRCS:.cpp=.o)
CXXFLAGS += -std=c++11 -fPIC -g -I ./external-lib/SFML-2.5.0/include \
-I ./external-lib/SFML-2.5.0/include \
-I ./external-lib/SFML-2.5.0/include/SFML \
-I ./external-lib/SFML-2.5.0/include/SFML/System \
-I ./external-lib/SFML-2.5.0/include/SFML/Audio \
-I ./external-lib/SFML-2.5.0/include/SFML/Network \
-I ./external-lib/SFML-2.5.0/include/SFML/Window \
-I ./external-lib/SFML-2.5.0/include/SFML/Graphics
LDXXFLAGS += -lsfml-audio -lsfml-graphics -lsfml-window -lsfml-system
all: $(NAME)
$(NAME): $(OBJS)
$(CXX) -o $(NAME) $(OBJS) $(LDXXFLAGS)
clean:
rm -f $(OBJS)
fclean: clean
rm -f $(NAME)
re: fclean all