Change all .cpp suffix to .cxx suffix

follow the coding standard requirement

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-03-17 01:40:34 +08:00 • committed by David Sidrane
parent 1673df81d1
commit 2f1ecbaf74
15 changed files with 16 additions and 17 deletions

View file

@ -94,7 +94,7 @@ LDLIBSTDC_STUBS_LIB = $(LDLIBSTDC_STUBS_DIR)/liblibxx.a
all: $(BIN1) $(BIN2) $(BIN3) $(BIN4) $(BIN5)
.PHONY: all clean install
$(OBJS): %$(OBJEXT): %.cpp
$(OBJS): %$(OBJEXT): %.cxx
@echo "CC: $<"
$(Q) $(CXX) -c $(CXXELFFLAGS) $< -o $@

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// examples/elf/tests/helloxx/hello++1.c
// apps/examples/elf/tests/helloxx/hello++1.cxx
//
// Copyright (C) 2012 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// examples/elf/tests/helloxx/hello++2.c
// apps/examples/elf/tests/helloxx/hello++2.cxx
//
// Copyright (C) 2012 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// examples/elf/tests/helloxx/hello++3.c
// apps/examples/elf/tests/helloxx/hello++3.cxx
//
// Copyright (C) 2012 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// examples/elf/tests/helloxx/hello++4.c
// apps/examples/elf/tests/helloxx/hello++4.cxx
//
// Copyright (C) 2012 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// examples/elf/tests/helloxx/hello++5.c
// apps/examples/elf/tests/helloxx/hello++5.cxx
//
// Copyright (C) 2015 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -70,7 +70,7 @@ LIBSTDC_STUBS_LIB = $(LIBSTDC_STUBS_DIR)/liblibxx.a
all: $(BIN1) $(BIN2) $(BIN3) # $(BIN4)
$(R1CXXOBJS): %.o: %.cpp
$(R1CXXOBJS): %.o: %.cxx
@echo "CC: $<"
$(Q) $(CXX) -c $(CXXPICFLAGS) $< -o $@

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// examples/nxflat/tests/hello++/hello++1.c
// apps/examples/nxflat/tests/hello++/hello++1.cxx
//
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// examples/nxflat/tests/hello++/hello++2.c
// apps/examples/nxflat/tests/hello++/hello++2.cxx
//
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// examples/nxflat/tests/hello++/hello++3.c
// apps/examples/nxflat/tests/hello++/hello++3.cxx
//
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// examples/nxflat/tests/hello++/hello++4.c
// apps/examples/nxflat/tests/hello++/hello++4.cxx
//
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>