summaryrefslogtreecommitdiffstats
path: root/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
new file mode 100644
index 0000000..f773950
--- /dev/null
+++ b/examples/Makefile
@@ -0,0 +1,36 @@
1SRCDIR = ..
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.
6PROGS = cat cmp cp echo halt hello hex-dump ls mcat mcp mkdir pwd rm shell \
7 bubsort insult lineup matmult recursor test
8
9# Should work from project 2 onward.
10cat_SRC = cat.c
11cmp_SRC = cmp.c
12cp_SRC = cp.c
13echo_SRC = echo.c
14halt_SRC = halt.c
15hello_SRC = hello.c
16hex-dump_SRC = hex-dump.c
17insult_SRC = insult.c
18lineup_SRC = lineup.c
19ls_SRC = ls.c
20recursor_SRC = recursor.c
21rm_SRC = rm.c
22test_SRC = test.c
23
24# Should work in project 3; also in project 4 if VM is included.
25bubsort_SRC = bubsort.c
26matmult_SRC = matmult.c
27mcat_SRC = mcat.c
28mcp_SRC = mcp.c
29
30# Should work in project 4.
31mkdir_SRC = mkdir.c
32pwd_SRC = pwd.c
33shell_SRC = shell.c
34
35include $(SRCDIR)/Make.config
36include $(SRCDIR)/Makefile.userprog