summaryrefslogtreecommitdiffstats
path: root/src/examples/Makefile
blob: 8bd6ed22c9c683729f39c6f01aaca7828bc20b7b (plain) (blame)
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
45
46
47
48
49
50
51
52
53
54
55
SRCDIR = ..

# Test programs to compile, and a list of sources for each.
# To add a new test, put its name on the PROGS list
# and then add a name_SRC line that lists its source files.
PROGS = cat cmp cp echo halt hex-dump ls mcat mcp mkdir pwd rm shell \
	bubsort insult lineup matmult recursor recursor_ng \
	sumargv lab2test lab1test lab1test2 pfs pfs_reader pfs_writer dummy longrun \
	child parent create-bad printf lab3test1 lab3test2 lab4test1

# Added test programs
printf_SRC = printf.c
sumargv_SRC = sumargv.c
lab2test_SRC = lab2test.c
lab1test_SRC = lab1test.c
lab1test2_SRC = lab1test2.c
lab3test1_SRC = lab3test1.c
lab3test2_SRC = lab3test2.c
lab4test1_SRC = lab4test1.c
pfs_SRC = pfs.c
pfs_reader_SRC = pfs_reader.c
pfs_writer_SRC = pfs_writer.c
longrun_SRC = longrun.c
dummy_SRC = dummy.c
child_SRC = child.c
parent_SRC = parent.c
create-bad_SRC = create-bad.c

# Should work from project 2 onward.
cat_SRC = cat.c
cmp_SRC = cmp.c
cp_SRC = cp.c
echo_SRC = echo.c
halt_SRC = halt.c
hex-dump_SRC = hex-dump.c
insult_SRC = insult.c
lineup_SRC = lineup.c
ls_SRC = ls.c
recursor_SRC = recursor.c
recursor_ng_SRC = recursor_ng.c
rm_SRC = rm.c

# Should work in project 3; also in project 4 if VM is included.
bubsort_SRC = bubsort.c
matmult_SRC = matmult.c
mcat_SRC = mcat.c
mcp_SRC = mcp.c

# Should work in project 4.
mkdir_SRC = mkdir.c
pwd_SRC = pwd.c
shell_SRC = shell.c

include $(SRCDIR)/Make.config
include $(SRCDIR)/Makefile.userprog