On Tue, 2007-06-12 at 10:32 +0000, sharan basappa wrote: > all: > include dir1/dir1.mk > > objects := $(subst .c,.o,$(sources)); > > .PHONY : all > > all : main > > main : main.o $(objects)
> Must remake target `main'. > Successfully remade target file `main'. This means that there IS a rule for main, maybe an explicit rule, but the rule doesn't have any commands associated with it; put another way it's an empty script. Maybe you have a straggling TAB character after the "main" rule? -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
