From: Ben Pfaff Date: Mon, 25 Oct 2004 21:48:45 +0000 (+0000) Subject: Reverse LIB order so that programs that don't make system X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4398f3aad00fb68acda59603b9e872933d4a3efe;p=pintos-anon Reverse LIB order so that programs that don't make system calls link properly --- diff --git a/src/tests/userprog/Makefile b/src/tests/userprog/Makefile index 5413882..0fae962 100644 --- a/src/tests/userprog/Makefile +++ b/src/tests/userprog/Makefile @@ -41,7 +41,7 @@ LIB_SRC += lib/user/console.c # Console code. LIB_OBJ = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(LIB_SRC))) LIB_DEP = $(patsubst %.o,%.d,$(LIB_OBJ)) -LIB = libc.a lib/user/entry.o +LIB = lib/user/entry.o libc.a PROGS_SRC = $(foreach prog,$(PROGS),$($(prog)_SRC)) PROGS_OBJ = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(PROGS_SRC)))