- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
Latest commit
22 lines (14 loc) · 342 Bytes
/
Copy pathmakefile
File metadata and controls
22 lines (14 loc) · 342 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CC = gcc
OBJECTS = intersect.o det2D.o
HEADERS = headers.h
PROTOTYPES = prototypes.h
OPT = -O
LDLIBS = -lm
intersect: $(OBJECTS)
$(CC)$(OBJECTS)$(LDLIBS) -o intersect
intersect.o: intersect.c $(HEADERS)$(PROTOTYPES)
$(CC)$(OPT) intersect.c -c
det2D.o: det2D.c $(HEADERS)$(PROTOTYPES)
$(CC)$(OPT) det2D.c -c
clean:
rm *.o