projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a `null' test for testing src/userprog before system calls have
[pintos-anon]
/
grading
/
userprog
/
Make.base
diff --git
a/grading/userprog/Make.base
b/grading/userprog/Make.base
index 77c580d13a107bab584a21400a1ce2709f12a920..d78787c2e8e185b7da2a283e4450f31768ca120f 100644
(file)
--- a/
grading/userprog/Make.base
+++ b/
grading/userprog/Make.base
@@
-6,7
+6,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)