-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (37 loc) · 746 Bytes
/
Makefile
File metadata and controls
48 lines (37 loc) · 746 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
42
43
44
45
46
47
48
##
## Makefile for MAKEFILE in /home/marcha_j//test/c/malloc/proj
##
## Made by hugo marchadier
## Login <marcha_j@epitech.net>
##
## Started on Wed Feb 1 18:08:19 2012 hugo marchadier
## Last update Fri Jun 22 17:53:20 2012 hugo marchadier
##
NAME= ftrace
SRC= main.c \
tab_sym.c \
dyntab_sym.c \
ftrace.c \
check_if_call.c \
check_if_ret.c \
decode_mode_rm.c \
calc_disp.c \
decode_sib.c \
print.c \
list.c \
xfct.c \
fct_annexe.c \
ncurse.c \
ncurse_legend.c \
CC= gcc
CFLAGS+= -W -Wall -Wextra -D_XOPEN_SOURCE=700 -L. -lelf -lncurses
OBJ= $(SRC:.c=.o)
all: $(NAME)
$(NAME): $(OBJ)
$(CC) -o $(NAME) $(OBJ) $(CFLAGS)
clean:
rm -f $(OBJ)
fclean: clean
rm -f $(NAME)
re: fclean all
.PHONY: all clean fclean re