-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
37 lines (27 loc) · 1.01 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 project2
####################################################
# 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 = StudentID/handin-parta
HANDINDIR-PARTB = StudentID/handin-partb
HANDINDIR-PARTC = StudentID/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)-sum.ys
cp sim/misc/rsum.ys $(HANDINDIR-PARTA)/$(TEAM)-rsum.ys
cp sim/misc/copy.ys $(HANDINDIR-PARTA)/$(TEAM)-copy.ys
# Use this rule to handin Part B ("make handin-partb")
handin-partb:
cp sim/seq/seq-full.hcl $(HANDINDIR-PARTB)/$(TEAM)-seq-full.hcl
# Use this rule to handin Part C ("make handin-partc")
handin-partc:
cp sim/pipe/ncopy.ys $(HANDINDIR-PARTC)/$(TEAM)-ncopy.ys
cp sim/pipe/pipe-full.hcl $(HANDINDIR-PARTC)/$(TEAM)-pipe-full.hcl
clean:
rm -f *~ *.o