Author: sebor
Date: Sun Dec  9 17:42:55 2007
New Revision: 602770

URL: http://svn.apache.org/viewvc?rev=602770&view=rev
Log:
2007-12-09  Martin Sebor  <[EMAIL PROTECTED]>

        STDCXX-650
        * makefile.rules: Duplicated rules for sources matching *.out.cpp
        and objects matching *.out.o. (Only the latter appears necessary).

Modified:
    incubator/stdcxx/trunk/etc/config/makefile.rules

Modified: incubator/stdcxx/trunk/etc/config/makefile.rules
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/makefile.rules?rev=602770&r1=602769&r2=602770&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/makefile.rules (original)
+++ incubator/stdcxx/trunk/etc/config/makefile.rules Sun Dec  9 17:42:55 2007
@@ -87,8 +87,16 @@
     endif   # ifneq ($(AS_EXT),".")
   endif   # ifneq ($(AS_EXT),)
 
+# make the rule match for sources matching *.out.cpp
+%.out.o: %.out.cpp
+       $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(call CXX.repo,$<) $<
+
 %.o: %.cpp
        $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(call CXX.repo,$<) $<
+
+# make the rule match for objects matching *.out.o
+%.out: %.out.o
+       $(LD) $< -o $@ $(LDFLAGS) $(LDLIBS) $(call CXX.repo,$<)
 
 %: %.o
        $(LD) $< -o $@ $(LDFLAGS) $(LDLIBS) $(call CXX.repo,$<)


Reply via email to