-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
52 lines (41 loc) · 848 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
44
45
46
47
48
49
50
51
52
##
## Makefile for in /home/bertha_e/rendu/Synthse/palindrome
##
## Made by Berthaud Elodie
## Login <[email protected]>
##
## Started on Thu Jun 16 09:11:30 2016 Berthaud Elodie
## Last update Sat Jun 18 13:20:34 2016 Berthaud Elodie
##
NAME = palindrome
SRC = src/main.c \
src/iteration.c \
src/get_int.c \
src/my_int_len.c \
src/revstr.c \
src/tab.c \
src/options.c \
src/tab_function.c \
src/prints.c \
src/my_putstr_error.c \
src/my_strdup.c \
src/fill_struct.c \
src/fill_with_opt.c \
src/check.c \
src/error.c \
src/funct_comb.c \
src/convert_in_base.c \
src/puissance.c \
src/others.c
OBJ = $(SRC.c=.o)
CC = gcc -g
RM = rm -f
CFLAGS = -W -Wall -I./include
$(NAME):$(OBJ)
$(CC) $(SRC) -o $(NAME) $(CFLAGS)
all: $(NAME)
clean:
$(RM) $(OBJ)
fclean: clean
$(RM) $(NAME)
re: fclean all