X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=grading%2Fuserprog%2FMake.base;h=e0cad442f1f754fa4759f1343da3a0d06d84e9e1;hb=a9ca36e41805e259c2bfc238655a9586f7efb303;hp=365ef6c0f7ae35f0d202971168da82b82fca9af1;hpb=155701580fc575ce41ffe7fa027c45c86a4dbe4b;p=pintos-anon diff --git a/grading/userprog/Make.base b/grading/userprog/Make.base index 365ef6c..e0cad44 100644 --- a/grading/userprog/Make.base +++ b/grading/userprog/Make.base @@ -6,10 +6,15 @@ child_arg_SRC = child-arg.c child_bad_SRC = child-bad.c child_close_SRC = child-close.c -DISKS = $(patsubst %,%.dsk,$(TESTS)) +DISKS = $(patsubst %,%.dsk,$(TESTS)) null.dsk disks: $(DISKS) +null.o: null.S +null: null.o + $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ +null.dsk: null + exec-once.dsk exec-multiple.dsk join-simple.dsk join-twice.dsk: child-simple exec-arg.dsk: child-arg join-killed.dsk: child-bad @@ -23,6 +28,8 @@ clean:: include $(SRCDIR)/Makefile.userprog +# Use -Werror because otherwise there's so much output spew +# that it's very difficult to pick out warnings. CFLAGS += -Werror Makefile: Make.base Make.tests mkmf