diff options
author | Theodore Ts'o <tytso@mit.edu> | 2005-12-29 22:45:29 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2005-12-29 22:45:29 -0500 |
commit | 02ef19621032044c1488931b3f970e11dca0afe0 (patch) | |
tree | d67e1245dfe12855623f3080183e6712f6abfd31 /lib/Makefile.elf-lib | |
parent | 68963d5a262ad49cbdad8f946e59ebc34677fe33 (diff) | |
download | e2fsprogs-02ef19621032044c1488931b3f970e11dca0afe0.tar.gz |
Avoid needlessly recompilation of library objection files
Fixing the problem of parallel builds sometimes not creating the library
subdirectories caused library object files to get constantly recompiled.
Fix this by remaping how the Makefile subdirectories decide to create
the subdirectories.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/Makefile.elf-lib')
-rw-r--r-- | lib/Makefile.elf-lib | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib index 97d9a70e..8819ceda 100644 --- a/lib/Makefile.elf-lib +++ b/lib/Makefile.elf-lib @@ -11,13 +11,11 @@ # ELF_INSTALL_DIR = $(SHLIBDIR) # ELF_OTHER_LIBS = -lc -all:: elfshared image +all:: image -subdirs:: elfshared - -elfshared: +subdirs:: Makefile @echo " MKDIR elfshared" - @mkdir elfshared + @mkdir -p elfshared ELF_LIB = $(ELF_IMAGE).so.$(ELF_VERSION) ELF_SONAME = $(ELF_IMAGE).so.$(ELF_SO_VERSION) |