Hi,

> REMIND_INCLUDES = $(wildcard *)
> 
> main: $(filter-out $@, $(REMIND_INCLUDES))
>       @touch $@
> 
> This works but I am still getting the above error.
Sorry, my mistake, $@ is substituted later. This avoids the circular
dependency:

FILTER = main Makefile
REMIND_INCLUDES = $(wildcard *)

main: $(filter-out $(FILTER), $(REMIND_INCLUDES))
        @touch $@

Still learning myself ;-)

Christoph
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.whatexit.org/mailman/listinfo/remind-fans

Reply via email to