mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-09 07:05:13 +00:00
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:
parent
1673df81d1
commit
2f1ecbaf74
15 changed files with 16 additions and 17 deletions
|
|
@ -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 $@
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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 $@
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue