diff options
Diffstat (limited to 'pintos-progos/examples/Makefile')
| -rw-r--r-- | pintos-progos/examples/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pintos-progos/examples/Makefile b/pintos-progos/examples/Makefile new file mode 100644 index 0000000..f773950 --- /dev/null +++ b/pintos-progos/examples/Makefile | |||
| @@ -0,0 +1,36 @@ | |||
| 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 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. | ||
| 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 | hello_SRC = hello.c | ||
| 16 | hex-dump_SRC = hex-dump.c | ||
| 17 | insult_SRC = insult.c | ||
| 18 | lineup_SRC = lineup.c | ||
| 19 | ls_SRC = ls.c | ||
| 20 | recursor_SRC = recursor.c | ||
| 21 | rm_SRC = rm.c | ||
| 22 | test_SRC = test.c | ||
| 23 | |||
| 24 | # Should work in project 3; also in project 4 if VM is included. | ||
| 25 | bubsort_SRC = bubsort.c | ||
| 26 | matmult_SRC = matmult.c | ||
| 27 | mcat_SRC = mcat.c | ||
| 28 | mcp_SRC = mcp.c | ||
| 29 | |||
| 30 | # Should work in project 4. | ||
| 31 | mkdir_SRC = mkdir.c | ||
| 32 | pwd_SRC = pwd.c | ||
| 33 | shell_SRC = shell.c | ||
| 34 | |||
| 35 | include $(SRCDIR)/Make.config | ||
| 36 | include $(SRCDIR)/Makefile.userprog | ||
