How to add a sub directory

1. In cvs/jsoc/target.mk, create this sub directory in the target tree. For example, the following line creates cvs/jsoc/src/base/drms,

.PHONY: $(OBJDIR)
$(OBJDIR):
        ...
        +@[ -d $@/src/base/drms ] || mkdir -p $@/src/base/drms
        ...

2. Create a Rules.mk in the sub directory using the template cvs/jsoc/build/Rules.mk.template.

3. Include this Rules.mk in the parent directory's Rules.mk.

JsocWiki: JsocMakefileAdd (last edited 2007-10-24 15:05:54 by PhilScherrer)