Get rid of unnecessary barrier. Improve comment.
[pintos-anon] / grading / userprog / Make.base
1 SRCDIR = ../../src
2
3 PROGS = $(TESTS) child-simple child-arg child-bad child-close
4 child_simple_SRC = child-simple.c
5 child_arg_SRC = child-arg.c
6 child_bad_SRC = child-bad.c
7 child_close_SRC = child-close.c
8
9 DISKS = $(patsubst %,%.dsk,$(TESTS)) null.dsk
10
11 disks: $(DISKS)
12
13 null.o: null.S
14 null: null.o
15         $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
16 null.dsk: null  
17
18 exec-once.dsk exec-multiple.dsk wait-simple.dsk wait-twice.dsk: child-simple
19 exec-arg.dsk: child-arg
20 wait-killed.dsk: child-bad
21 multi-child-fd.dsk: child-close
22
23 %.dsk: %
24         ./prep-disk $<
25
26 clean::
27         rm -f $(DISKS)
28
29 include $(SRCDIR)/Makefile.userprog
30
31 # Use -Werror because otherwise there's so much output spew
32 # that it's very difficult to pick out warnings.
33 CFLAGS += -Werror
34
35 Makefile: Make.base Make.tests mkmf
36         ./mkmf
37