X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=grading%2Fuserprog%2FMakefile;h=0b1b5ff0adb5b2f2a4d4d264eff7c614bceb2023;hb=2d20cd50c41c87a90d49e4b7ace3d18b8fb34f23;hp=1eb67b3142af29a46f1591b25f1eea24f47bbc5e;hpb=254b25da573faedd3cf11f407b9f28111860fdfe;p=pintos-anon diff --git a/grading/userprog/Makefile b/grading/userprog/Makefile index 1eb67b3..0b1b5ff 100644 --- a/grading/userprog/Makefile +++ b/grading/userprog/Makefile @@ -76,7 +76,12 @@ child_arg_SRC = child-arg.c child_bad_SRC = child-bad.c child_close_SRC = child-close.c -DISKS = $(patsubst %,%.dsk,$(TESTS)) +null.o: null.S +null: null.o + $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ +null.dsk: null + +DISKS = $(patsubst %,%.dsk,$(TESTS)) null.dsk disks: $(DISKS)