LDFLAGS = -nostdlib -static -s
LDLIBS = $(shell $(CC) -print-libgcc-file-name)
-# Uncomment the line below to round up segment sizes to full pages for
-# testing purposes only.
-#LDFLAGS += -Wl,-T,fullpage.x
-
# C library sources linked into every test program.
LIB_SRC = lib/debug.c # Debug code.
LIB_SRC += lib/random.c # Pseudo-random numbers.
shell_SRC = shell.c
include $(SRCDIR)/Makefile.userprog
+
+# Uncomment the line below to round up segment sizes to full pages for
+# testing purposes only.
+#LDFLAGS += -Wl,-T,fullpage.x