X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=blobdiff_plain;f=src%2FMakefile.userprog;h=0df391a24ed164db4fc6febe3d44c33443a30769;hp=3631cf1b221b2a3bf3e5e0fb02457338a39132db;hb=59f738d500f51ffc5f487344865b8bed69c26281;hpb=c4d3a0df42588f919931e786d398e418b6ce6179 diff --git a/src/Makefile.userprog b/src/Makefile.userprog index 3631cf1..0df391a 100644 --- a/src/Makefile.userprog +++ b/src/Makefile.userprog @@ -3,7 +3,7 @@ $(PROGS): CPPFLAGS += -I$(SRCDIR)/lib/user -I. # Linker flags. -$(PROGS): LDFLAGS = -nostdlib -static -Wl,-T,$(LDSCRIPT) +$(PROGS): LDFLAGS += -nostdlib -static -Wl,-T,$(LDSCRIPT) $(PROGS): LDSCRIPT = $(SRCDIR)/lib/user/user.lds # Library code shared between kernel and user programs. @@ -12,7 +12,8 @@ lib_SRC += lib/random.c # Pseudo-random numbers. lib_SRC += lib/stdio.c # I/O library. lib_SRC += lib/stdlib.c # Utility functions. lib_SRC += lib/string.c # String functions. -lib_SRC += lib/arithmetic.c +lib_SRC += lib/arithmetic.c # 64-bit arithmetic for GCC. +lib_SRC += lib/ustar.c # Unix standard tar format utilities. # User level only library code. lib/user_SRC = lib/user/debug.c # Debug helpers.