DragonFly BSD
DragonFly commits List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/gnu/usr.bin/gdb/gdb


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 18 Nov 2004 18:48:46 +0100

On Fri, Nov 19, 2004 at 02:00:45AM +0900, YONETANI Tomokazu wrote:
> .y.c:
> 	@echo "WARNING: using messy implicit rule..." 1>&2
> .if !empty(YFLAGS:M-d)
> 	{ pid=$$$$; ${YACC} ${YFLAGS} -b $$pid ${.IMPSRC} && \
> 	mv $$pid.tab.c ${.TARGET} && \
> 	mv $$pid.tab.h ${.TARGET:S/.c/.h/}; }
> .else
>         ${YACC} ${YFLAGS} ${.IMPSRC}
> .endif

Doesn't work, because of the evaluation order. sys.mk is scanned before
the actual Makefile.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]