-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
40 lines (39 loc) · 890 Bytes
/
makefile
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
all: MyCopy ForkCopy PipeCopy timer MyShell MoreShell DupShell MergesortSingle MergesortMulti
clear:
rm *.o
MyCopy: MyCopy.o
g++ MyCopy.o -o MyCopy
MyCopy.o:
g++ -c MyCopy.c
ForkCopy: ForkCopy.o
g++ ForkCopy.o -o ForkCopy
ForkCopy.o:
g++ -c ForkCopy.c
PipeCopy: PipeCopy.o
g++ PipeCopy.o -o PipeCopy
PipeCopy.o:
g++ -c PipeCopy.c
timer: timer.o
g++ timer.o -o timer
timer.o:
g++ -c timer.c
MyShell: MyShell.o
g++ MyShell.o -o MyShell
MyShell.o:
g++ -c MyShell.c
MoreShell: MoreShell.o
g++ MoreShell.o -o MoreShell
MoreShell.o:
g++ -c MoreShell.c
DupShell: DupShell.o
g++ DupShell.o -o DupShell
DupShell.o:
g++ -c DupShell.c
MergesortSingle: MergesortSingle.o
g++ MergesortSingle.o -o MergesortSingle
MergesortSingle.o:
g++ -c MergesortSingle.c
MergesortMulti: MergesortMulti.o
g++ -pthread MergesortMulti.o -o MergesortMulti
MergesortMulti.o:
g++ -c MergesortMulti.c