2128cc22ff88410aa3f44178fd5e071d78f5c235
[pintos-anon] / src / examples / Makefile
1 SRCDIR = ..
2
3 # Test programs to compile, and a list of sources for each.
4 # To add a new test, put its name on the PROGS list
5 # and then add a name_SRC line that lists its source files.
6 PROGS = cat cmp cp echo halt hex-dump ls mcat mcp mkdir pwd rm shell \
7         bubsort insult lineup matmult recursor
8
9 # Should work from project 2 onward.
10 cat_SRC = cat.c
11 cmp_SRC = cmp.c
12 cp_SRC = cp.c
13 echo_SRC = echo.c
14 halt_SRC = halt.c
15 hex-dump_SRC = hex-dump.c
16 insult_SRC = insult.c
17 lineup_SRC = lineup.c
18 ls_SRC = ls.c
19 recursor_SRC = recursor.c
20 rm_SRC = rm.c
21
22 # Should work in project 3; also in project 4 if VM is included.
23 bubsort_SRC = bubsort.c
24 matmult_SRC = matmult.c
25 mcat_SRC = mcat.c
26 mcp_SRC = mcp.c
27
28 # Should work in project 4.
29 mkdir_SRC = mkdir.c
30 pwd_SRC = pwd.c
31 shell_SRC = shell.c
32
33 include $(SRCDIR)/Make.config
34 include $(SRCDIR)/Makefile.userprog