# New Ticket Created by  Bruce Gray 
# Please include the string:  [perl #17502]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=17502 >


To specify a rule to build object files from C files,
root.in correctly says:
        .c$(O) :
                $(CC) $(CFLAGS) ${cc_o_out}$@ -c $<
but classes.in gets it wrong:
        .c$(O):
                $(CC) $(CFLAGS) ${cc_exe_out}$@ -c $<

The bug does not show up under platforms (like Unix) where the two
flags are the same. It bit me on Win32, with the free Borland
compiler.

This patch corrects the problem.

Hope this helps,
Bruce Gray
(Who is working toward out-of-the-box builds for the free
Borland, MinGW, and OpenWatcom Win32 compilers).



-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/38271/31123/59febd/cc_exe_out_2_cc_o_out.patch

Attachment: cc_exe_out_2_cc_o_out.patch
Description: cc_exe_out_2_cc_o_out.patch

Reply via email to