-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (25 loc) · 681 Bytes
/
Copy pathMakefile
File metadata and controls
41 lines (25 loc) · 681 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
all: mysort coach sorter quicksort heapsort
mysort: coordinator.o
gcc coordinator.o -o mysort
coach: coach.o handler.o
gcc coach.o handler.o -o coach
sorter: sorter.o
gcc sorter.o -o sorter
quicksort: quicksort.o
gcc quicksort.o -o quicksort
heapsort: heapsort.o
gcc heapsort.o -o heapsort
heapsort.o: heapsort.c record.h
quicksort.o: quicksort.c record.h
sorter.o: sorter.c record.h
coach.o: coach.c record.h
coordinator.o: coordinator.c record.h
handler.o: handler.c handler.h
clean:
rm -f mysort handler.o coordinator.o
rm -f coach coach.o
rm -f sorter sorter.o
rm -f quicksort quicksort.o
rm -f heapsort heapsort.o
rm_files:
rm -f myinputfile.*