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)
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