From 0899d011e482af59e9cad54b78c1f06dc9cf3bba Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Mon, 18 Mar 2002 17:08:13 +0000 Subject: [PATCH] Remove empty dirs from -I and -L flags on OS X git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@13150 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 7 +++++++ target.make | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index fbf2cd60..21f1ec57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Mon Mar 18 16:57:20 2002 Nicola Pero + + * common.make: If REMOVE_EMPTY_DIRS is yes, remove efficiently all + empty directories from include and library flags (ie, -I and -L + flags). (Suggestion by Markus Hitter ). + * target.make (REMOVE_EMPTY_DIRS): Set to yes in the case of OS X. + Mon Mar 18 14:07:53 2002 Nicola Pero * GNUstep-reset.sh: New file. Sourcing this file resets the diff --git a/target.make b/target.make index 10687617..dd707806 100644 --- a/target.make +++ b/target.make @@ -336,6 +336,10 @@ DYLIB_CURRENT_VERSION = -current_version 1 DYLIB_INSTALL_NAME = \ $(GNUSTEP_SYSTEM_ROOT)/$(TARGET_LIB_DIR)/$(LIBRARY_FILE) +# Remove empty dirs from the compiler/linker flags (ie, remove -Idir and +# -Ldir flags where dir is empty). +REMOVE_EMPTY_DIRS = yes + ifeq ($(FOUNDATION_LIB),nx) DYLIB_DEF_FRAMEWORKS += -framework Foundation endif