Hi
I'd be grateful if you have any suggestions to the problem described below. I'm
relatively new to using make so any assistance would be appreciated.
I'm putting together a recursive make as our system has many sub-directories and many
files and is currently built with a single makefile which is unmaintainable.
My problem is I'm trying to get a recursive compile rule and depends rule to work from
the top level make the basics of which are below, Ideally I need to pass either 'all'
or 'depends' on the line $(MAKE) -C $@ line as this can then serve depends and all
rules, but I am unsure how to do this.
Alternatively I have tried created seperate rules but this obviously generates warning
due to duplication for the $(DTV_MODULES) target
.PHONY: all $(DTV_MODULES)
all: $(DTV_MODULES)
st20libr $(LIBS) -o Libs\pace.lib
.PHONY: depends $(DTV_MODULES)
depends: $(DTV_MODULES)
$(DTV_MODULES):
$(MAKE) -C $@
Version of make 3.78.1 For windows 32
Thanks in advance
Darren
[EMAIL PROTECTED]