Commit cdcfe3dd authored by Ellis Michael's avatar Ellis Michael
Browse files

Adding Makefile

parent f2b9fac5
LAB1_FILES=src/README.lab1 \
src/main/wc.go \
src/mapreduce/mapreduce.go \
src/mapreduce/master.go
LAB2_FILES=src/README.lab2 \
src/viewservice/common.go \
src/viewservice/server.go \
src/pbservice/client.go \
src/pbservice/common.go \
src/pbservice/server.go
LAB3_FILES=src/README.lab3 \
src/paxos/paxos.go \
src/kvpaxos/client.go \
src/kvpaxos/common.go \
src/kvpaxos/server.go
LAB4_FILES=src/README.lab4 \
src/shardmaster/server.go \
src/shardkv/client.go \
src/shardkv/common.go \
src/shardkv/server.go
lab1.tar.gz: $(LAB1_FILES)
@ tar -cvzf $@ $^
lab2.tar.gz: $(LAB2_FILES)
@ tar -cvzf $@ $^
lab3.tar.gz: $(LAB3_FILES)
@ tar -cvzf $@ $^
lab4.tar.gz: $(LAB4_FILES)
@ tar -cvzf $@ $^
clean:
@ rm -fv *.tar.gz \
src/main/diff.out \
src/main/mrtmp.* \
src/main/*mrinput.txt \
src/mapreduce/mrtmp.* \
src/mapreduce/*mrinput.txt \
src/mapreduce/x.txt \
src/pbservice/x.txt \
src/kvpaxos/x.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment