-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile
37 lines (27 loc) · 1.18 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
####################################################
# Students' Makefile for the CS:APP Architecture Lab
####################################################
# Default team name and version number
TEAM = bovik
VERSION = 1
# Where are the different parts of the lab should be copied to when they
# are handed in.
HANDINDIR-PARTA = /afs/cs/academic/class/15349-s02/archlab/handin-parta
HANDINDIR-PARTB = /afs/cs/academic/class/15349-s02/archlab/handin-partb
HANDINDIR-PARTC = /afs/cs/academic/class/15349-s02/archlab/handin-partc
sim:
(cd sim; make)
# Use this rule to hand in Part A ("make handin-parta")
handin-parta:
cp sim/misc/sum.ys $(HANDINDIR-PARTA)/$(TEAM)-$(VERSION)-sum.ys
cp sim/misc/rsum.ys $(HANDINDIR-PARTA)/$(TEAM)-$(VERSION)-rsum.ys
cp sim/misc/copy.ys $(HANDINDIR-PARTA)/$(TEAM)-$(VERSION)-copy.ys
# Use this rule to handin Part B ("make handin-partb")
handin-partb:
cp sim/seq/seq-full.hcl $(HANDINDIR-PARTB)/$(TEAM)-$(VERSION)-seq-full.hcl
# Use this rule to handin Part C ("make handin-partc")
handin-partc:
cp sim/pipe/ncopy.ys $(HANDINDIR-PARTC)/$(TEAM)-$(VERSION)-ncopy.ys
cp sim/pipe/pipe-full.hcl $(HANDINDIR-PARTC)/$(TEAM)-$(VERSION)-pipe-full.hcl
clean:
rm -f *~ *.o