Hi,
I'm trying to write a makefile that has the following features:
1. Generates the list of files to build from a source and its designated
sub-directories
2. Builds the object and executable in an object directory (with required
subdirs)
3. Automatically creates .d dependency files using the
On Tue, 2006-12-26 at 00:38 -0800, Nirusha & Dushara Jayasinghe wrote:
> %.d: $(@:$(OBJ)/%.d=$(SRC)/%.c)
I don't know about the exact symptoms you're seeing but this rule is
wrong. You cannot use $@ in a prerequisite list: that is an automatic
variable and automatic variables only have a value i