Check for the compiler's availability early in the `make' run, in
[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 mcp mkdir rm shell \
7         bubsort insult lineup matmult recursor
8
9 cat_SRC = cat.c
10 cmp_SRC = cmp.c
11 cp_SRC = cp.c
12 echo_SRC = echo.c
13 halt_SRC = halt.c
14 hex-dump_SRC = hex-dump.c
15 ls_SRC = ls.c
16 mcp_SRC = mcp.c
17 mkdir_SRC = mkdir.c
18 rm_SRC = rm.c
19 shell_SRC = shell.c
20
21 bubsort_SRC = bubsort.c
22 insult_SRC = insult.c
23 lineup_SRC = lineup.c
24 matmult_SRC = matmult.c
25 recursor_SRC = recursor.c
26
27 include $(SRCDIR)/Make.config
28 include $(SRCDIR)/Makefile.userprog