forked from sanketmarkan/HDFS-MapReduce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
44 lines (44 loc) · 1.82 KB
/
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
40
41
42
43
44
.PHONY : all
all:
mkdir bin
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: *.java Utils/*.java INameNode/*.java IDataNode/*.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: IReducer/*.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: IMapper/*.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: IJobTracker/*.java
protoc -I=. --java_out=./bin MapReduce.proto
protoc -I=. --java_out=./bin hdfs.proto
cp protobuf-java-3.0.2.jar ./bin/
Client: Client.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: Client.java
NameNode: NameNode.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: NameNode.java
INameNode: INameNode/*.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: INameNode/*.java
DataNode: DataNode.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: DataNode.java
IDataNode: IDataNode/*.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: IDataNode/*.java
JobTracker: JobTracker.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: JobTracker.java
IJobTracker: IJobTracker/*.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: IJobTracker/*.java
JobClient: JobClient.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: JobClient.java
TaskTracker: TaskTracker.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: TaskTracker.java
IMapper: IMapper/*.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: IMapper/*.java
IReducer: IReducer/*.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: IReducer/*.java
MapProto: MapReduce.proto
protoc -I=. --java_out=./bin MapReduce.proto
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: ./bin/MapReduceProto/*.java
HDFSProto: hdfs.proto
protoc -I=. --java_out=./bin hdfs.proto
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: ./bin/Protobuf/*.java
Utils: Utils/*.java
javac -d ./bin/ -cp ./protobuf-java-3.0.2.jar: Utils/*.java
CopyFiles:
cp README bin/
clean:
rm -r ./bin/