Fix Make.base in same way as Makefile.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 9 Jan 2005 07:56:14 +0000 (07:56 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 9 Jan 2005 07:56:14 +0000 (07:56 +0000)
grading/userprog/Make.base

index d78787c2e8e185b7da2a283e4450f31768ca120f..e0cad442f1f754fa4759f1343da3a0d06d84e9e1 100644 (file)
@@ -6,15 +6,15 @@ child_arg_SRC = child-arg.c
 child_bad_SRC = child-bad.c
 child_close_SRC = child-close.c
 
+DISKS = $(patsubst %,%.dsk,$(TESTS)) null.dsk
+
+disks: $(DISKS)
+
 null.o: null.S
 null: null.o
        $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
 null.dsk: null 
 
-DISKS = $(patsubst %,%.dsk,$(TESTS)) null.dsk
-
-disks: $(DISKS)
-
 exec-once.dsk exec-multiple.dsk join-simple.dsk join-twice.dsk: child-simple
 exec-arg.dsk: child-arg
 join-killed.dsk: child-bad