-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (36 loc) · 757 Bytes
/
Makefile
File metadata and controls
50 lines (36 loc) · 757 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
49
50
##
## Makefile for in /u/epitech_2012/brenne_t/cu/rendu/test/minitalk
##
## Made by thomas brennetot
## Login <brenne_t@epitech.net>
##
## Started on Tue Dec 11 14:20:43 2007 thomas brennetot
## Last update Fri Dec 28 17:10:11 2007 thomas brennetot
##
NAME = my_printf_${OSTYPE}
SRC = my_printf.c\
tools.c\
my_c.c\
my_d.c\
my_modu.c\
my_p_P.c\
my_s.c\
my_u.c\
my_o_x_X.c\
my_S.c
OBJ = $(SRC:.c=.o)\
CFLAGS = -W -Wall -pedantic -D${OSTYPE} -I.
CC_FreeBSD = gcc
CC_solaris = /usr/sfw/bin/gcc
CC_linux = gcc
CC = $(CC_${OSTYPE})
$(NAME) : $(OBJ)
$(CC) $(OBJ) -o $(NAME)
all : $(NAME)
clean :
rm -rf $(OBJ)
rm -rf *~
fclean : clean
rm -rf $(NAME)
re : fclean all
PHONE. = all clean fclean re