[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: etags for C++
From: |
Tak Ota |
Subject: |
Re: etags for C++ |
Date: |
Wed, 20 Feb 2002 23:34:36 -0800 (PST) |
Thu, 21 Feb 2002 08:47:11 +0200 (IST): Eli Zaretskii <address@hidden> wrote:
>
> On Wed, 20 Feb 2002, Richard Stallman wrote:
>
> > find . -name "*.[chCH]" -print | etags -
> >
> > I suppose use of C++ is very common these days.
> >
> > .C and .H were used for C++ files. Has that convention changed?
>
> No, it didn't change.
>
> However, it's possible that capital .C and .H are not used on
> case-insensitive filesystems such as on Windows.
GNU make 3.79.1 knows .C, .cc and .cpp as the C++ files. And it seems
to treat .cc as the canonical one and consolidate .C and .cpp into
.cc.
-Tak
COMPILE.cpp = $(COMPILE.cc)
COMPILE.C = $(COMPILE.cc)
COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
%.o: %.cc
# commands to execute (built-in):
$(COMPILE.cc) $(OUTPUT_OPTION) $<
%.o: %.C
# commands to execute (built-in):
$(COMPILE.C) $(OUTPUT_OPTION) $<
%.o: %.cpp
# commands to execute (built-in):
$(COMPILE.cpp) $(OUTPUT_OPTION) $<
.cc.o:
$(COMPILE.cc) $(OUTPUT_OPTION) $<
.C.o:
$(COMPILE.C) $(OUTPUT_OPTION) $<
.cpp.o:
$(COMPILE.cpp) $(OUTPUT_OPTION) $<
- etags for C++, Tak Ota, 2002/02/19
- Re: etags for C++, Richard Stallman, 2002/02/20
- Re: etags for C++, Eli Zaretskii, 2002/02/21
- Re: etags for C++,
Tak Ota <=
- Re: etags for C++, Tak Ota, 2002/02/21
- Re: etags for C++, Eli Zaretskii, 2002/02/21
- Re: etags for C++, Tak Ota, 2002/02/21
- Re: etags for C++, Francesco Potorti`, 2002/02/22
- Re: etags for C++, Tak Ota, 2002/02/22
- Re: etags for C++, Andreas Schwab, 2002/02/22
- Re: etags for C++, Richard Stallman, 2002/02/23
- Re: etags for C++, Tak Ota, 2002/02/24
- Re: etags for C++, Richard Stallman, 2002/02/24
- Re: etags for C++, Eli Zaretskii, 2002/02/25