-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
110 lines (99 loc) · 2.23 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
##
## EPITECH PROJECT, 2021
## make
## File description:
## make
##
SRC = source/usage.c \
my_rpg.c \
source/manual.c \
source/other_free.c \
source/error_handling.c \
source/creat_object.c \
source/creat_square.c \
source/creat_text.c \
source/free.c \
source/save_load_page.c \
source/free_sec.c \
source/creat_text_two.c \
source/display.c \
source/play.c \
source/shop.c \
source/inventory.c \
source/choose_poke.c \
source/stuff_and_arn.c \
source/pokemon_inventory.c \
source/creat_object_two.c \
source/creat_object_fr.c \
source/creat_object_tree.c \
source/player_stuff.c \
source/pharmacy.c \
source/setting.c \
source/menu.c \
source/destroy.c \
source/analyse_env.c \
source/moove.c \
source/moove_two.c \
source/load_config.c \
source/save.c \
source/fight.c \
source/pause.c \
source/read_map.c \
source/intro.c \
source/setting_stuff.c \
source/create_tuto.c \
source/tuto.c \
source/mooove.c \
source/move_pause.c \
source/pokemon_display.c \
source/frame_loader.c \
source/small_game_stuff.c \
source/create_fight.c \
source/pokemon_array_moove.c \
source/main_fight.c \
source/do_we_fight.c \
source/attack.c \
source/arceus.c \
source/quest_menu.c \
source/move_pause_2.c \
source/struct.c \
source/type_of_attack.c \
source/particules.c
LIB = lib/my/my_concate.c \
lib/my/my_getnbr.c \
lib/my/my_strdup.c \
lib/my/my_intchar.c \
lib/my/my_twod_size.c \
lib/my/my_str_comp.c \
lib/my/my_putchar.c \
lib/my/my_charint.c \
lib/my/my_numarg.c \
lib/my/my_split.c \
lib/my/my_checker.c \
lib/my/my_put_nbr.c \
source/collision.c \
lib/my/my_putstr.c \
lib/my/my_printf.c \
lib/my/my_revstr.c \
lib/my/my_strlen.c
OBJ = $(SRC:.c=.o)
N = my_rpg
NAMELIB = libmy.a
all: libmy $(OBJ)
gcc -g -o $(N) $(OBJ) -l csfml-graphics \
-l csfml-system -l csfml-audio -l csfml-window -L ./lib/my -lmy -lm
make clean
libmy:
gcc -g -c $(LIB)
ar rc ./lib/my/$(NAMELIB) *.o
cd lib/my && rm -f *.o
clean:
rm -f lib/my/*.o
rm -f vgcore*
rm -f *~
rm -f *.o
cd source && rm -f *.o
fclean: clean
rm -f $(N)
re: fclean all
.PHONY: clean fclean compile libmy add