Reverse LIB order so that programs that don't make system
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 25 Oct 2004 21:48:45 +0000 (21:48 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 25 Oct 2004 21:48:45 +0000 (21:48 +0000)
calls link properly

src/tests/userprog/Makefile

index 54138821bb81592501b4c30ff11891ada91d0269..0fae9628f2867db00ea3e7a2b95f0162d498cce7 100644 (file)
@@ -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)))