-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (28 loc) · 689 Bytes
/
Makefile
File metadata and controls
38 lines (28 loc) · 689 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
TARGETS = insertionsort.o \
mergesort.o \
quicksort.o \
timealgorithms.o \
timealgorithms \
consistentresultverification \
sortedverification \
createdata
obj = *.o
all: $(TARGETS)
insertionsort.o: insertionsort.cpp
g++ $^ -g -c
mergesort.o: mergesort.cpp
g++ $^ -g -c
quicksort.o: quicksort.cpp
g++ $^ -g -c
timealgorithms.o: timealgorithms.cxx
g++ $^ -g -c
timealgorithms: timealgorithms.o insertionsort.o mergesort.o quicksort.o
g++ $^ -g -o $@
consistentresultverification: consistentresultverification.cxx
g++ $^ -g -o $@
sortedverification: sortedverification.cxx
g++ $^ -g -o $@
createdata: createdata.cxx
g++ $^ -g -o $@
clean:
rm -f $(obj)