On 2004-05-26 17:55, "N. Raghavendra" <[EMAIL PROTECTED]> wrote: > At 2004-05-26T12:41:57+01:00, Matthew Seaman wrote: > > On Wed, May 26, 2004 at 12:15:57PM +0530, N. Raghavendra wrote: > > You have got a line: > > > > .PHONY: dir1 dir2 > > > > to force those rules to be applied even if dir1 or dir2 are newer than > > their sources? > > Yes, I had tried that too, but it doesn't make the second rule work. > The second rule does work with `gmake'.
Seems to work here. [EMAIL PROTECTED]:18]/tmp/lala$ cat Makefile DIRS= alpha beta .PHONY: $(DIRS) all: $(DIRS) clean: rmdir $(DIRS) alpha beta: mkdir $@ [EMAIL PROTECTED]:18]/tmp/lala$ make mkdir alpha mkdir beta [EMAIL PROTECTED]:18]/tmp/lala$ ls -l total 6 -rw-rw-r-- 1 giorgos wheel - 94 May 27 21:18 Makefile drwxrwxr-x 2 giorgos wheel - 512 May 27 21:18 alpha drwxrwxr-x 2 giorgos wheel - 512 May 27 21:18 beta Can you post the entire Makefile? - Giorgos _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"