-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (36 loc) · 718 Bytes
/
Copy pathMakefile
File metadata and controls
48 lines (36 loc) · 718 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
##
## EPITECH PROJECT, 2019
## makefile
## File description:
## 104
##
NAME = 104intersection
SRC = src/main.c \
src/error_handling.c \
src/display_help.c \
src/sphere.c \
src/cylinder.c \
src/cone.c \
src/compute_des.c \
src/compute_equa.c \
src/compute_quad_eq.c \
src/intersection.c
CC = gcc
DEFLAGS = -W -Wextra -Wall -g3 -lm
CPPFLAGS = -I./include/
CFFLAGS = tests/unit_tests.c -I./include --coverage -lcriterion -lm
OBJ = $(SRC:.c=.o)
all : $(OBJ)
$(CC) $(DEFLAGS) -o $(NAME) $(OBJ) $(CPPFLAGS)
clean :
rm -f $(OBJ)
fclean : clean
rm -f $(NAME)
rm -f *#
rm -f *~
rm -f src/*~
rm -f include/*~
rm -f *.gcda
rm -f *.gcno
re : fclean all
.PHONY : all clean fclean re