[Top][All Lists]

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

Re: More information

From: Paul D. Smith
Subject: Re: More information
Date: Tue, 25 Jul 2006 13:06:21 -0400

%% Regarding Re: More information:

  >> %.r37:%.c
  >> $(COMP) $(CFLAGS) $<
  >> %.r37:%.C
  >> $(COMP) $(CFLAGS) $<

  jg> My guess is that this is the problem.  Windows is case-preserving
  jg> but case insensitive and hence %.c and %.C are the same thing.

This shouldn't matter in two ways: first, internally (for targets etc.)
GNU make is still case-sensitive, even on Windows.  It only tries to be
case insensitive when it's looking at files on the disk.  And not always
even then: it's a compile-time option.

Second, even so it's not an error to declare two pattern rules with the
same target and prerequisite patterns: the second one replaces the first

 Paul D. Smith <address@hidden>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]