>$ cat Makefile
>src = a.c dir1/b.c c.c dir2/d.c
>all:
>        @echo $(src)
>        @echo $(dir $(src))
>        @echo $(patsubst %/,-I%,$(dir $(src)))
>$ make
>a.c dir1/b.c c.c dir2/d.c
>./ dir1/ ./ dir2/
>-I. -Idir1 -I. -Idir2
>$

>Do that process of breaking the goal down into steps and debugging it
>with a test makefile make sense?


>Philip Guenther


The script works well.

PRC




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to