On Feb 19, 2005, at 10:29 AM, Andrew Ruder wrote:
Matt Rice wrote:
before-all:: mkdir -p shared_obj/source to a GNUmakefile.preamble, though theres probably a better way
First off, this should probably be the .postamble.
But in TalkSoup, I do something like this
before-all:: $(MKDIRS) $(GNUSTEP_OBJ_DIR)/Controllers/Preferences $(MKDIRS) $(GNUSTEP_OBJ_DIR)/Controllers/ConnectionController
I think this is probably better handled using SUBPROJECTS, but it may be a matter of taste. Look in core/back/Source for an example. Basically, in the top-level file you have:
LogTest_SUBPROJECTS = source
and in the source directory, use
SUBPROJECT_NAME=source source_OBJC_FILES = foo.m bar.m ... include $(GNUSTEP_MAKEFILES)/subproject.make
_______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
