%% bertold <[EMAIL PROTECTED]> writes: b> Ok. So i fix it to b> .INTERMEDIATE: %.tab.h
You cannot use pattern matching in prerequisites of .INTERMEDIATE. This line says that a file named, literally, '%.tab.h' is to be treated as intermediate. b> %.tab.c %.tab.h : %.y b> $(BS) $(BSFLAGS) $^ b> It is still deletes only C file. This is because somewhere in your makefile you actually use xxx.tab.h as a prerequisite or target, while the same is not true of the .c file. -- ------------------------------------------------------------------------------- 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
