X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fexamples%2FMakefile;h=2128cc22ff88410aa3f44178fd5e071d78f5c235;hb=fd2a5afa946474ba0839de0e9da238dbaecbd6a5;hp=a7bba67f446006568563243cb80a959445a4953c;hpb=f52927b361af572818c9ff885eba9e1ca1fe22f9;p=pintos-anon diff --git a/src/examples/Makefile b/src/examples/Makefile index a7bba67..2128cc2 100644 --- a/src/examples/Makefile +++ b/src/examples/Makefile @@ -3,25 +3,32 @@ 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 mcp mkdir rm shell \ +PROGS = cat cmp cp echo halt hex-dump ls mcat mcp mkdir pwd rm shell \ bubsort insult lineup matmult recursor +# 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 -mcp_SRC = mcp.c -mkdir_SRC = mkdir.c +recursor_SRC = recursor.c rm_SRC = rm.c -shell_SRC = shell.c +# Should work in project 3; also in project 4 if VM is included. bubsort_SRC = bubsort.c -insult_SRC = insult.c -lineup_SRC = lineup.c matmult_SRC = matmult.c -recursor_SRC = recursor.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