So we could have a small makefile fragment, let's call it find-
gnustep.make,
that searches for gnustep-make on disk and sets GNUSTEP_MAKEFILES
to the
best
match. I'll write that makefile fragment, and it will be
maintained
inside
gnustep-make.
I don't get this one, you want to let the fragment search for
gnustep-
make? Where will it search? Isn't it expensive to search all
locations
everytime? I'm not convinced that this can happen automagically.
Here is an example -- put this at the top of your GNUmakefile, just
before
include $(GNUSTEP_MAKEFILES)/common.make --
GNUSTEP_MAKEFILES = $(word 1, \
$(wildcard /usr/GNUstep/System/Library/Makefiles) \
$(wildcard /var/lib/GNUstep/System/Library/Makefiles) \
$(wildcard /usr/local/GNUstep/System/Library/Makefiles) \
$(wildcard /opt/GNUstep/System/Library/Makefiles) \
$(wildcard /System/Library/Makefiles))