diff --git a/src/makeBaseApp/Makefile b/src/makeBaseApp/Makefile index 35dd57129..004fb5756 100644 --- a/src/makeBaseApp/Makefile +++ b/src/makeBaseApp/Makefile @@ -28,7 +28,7 @@ TEMPLATES += top/exampleApp/src/caMonitor.c TEMPLATES += top/exampleApp/src/exampleInclude.dbd TEMPLATES += top/exampleApp/src/sncExample.stt TEMPLATES += top/exampleApp/src/xxxRecord.dbd -TEMPLATES += top/exampleApp/src/exampleMain.c +TEMPLATES += top/exampleApp/src/exampleMain.cpp TEMPLATES += top/exampleBoot/Makefile TEMPLATES += top/exampleBoot/nfsCommands@vxWorks diff --git a/src/makeBaseApp/top/exampleApp/src/Makefile b/src/makeBaseApp/top/exampleApp/src/Makefile index 3f0aefa81..96a42453b 100644 --- a/src/makeBaseApp/top/exampleApp/src/Makefile +++ b/src/makeBaseApp/top/exampleApp/src/Makefile @@ -33,7 +33,7 @@ example_SRCS += caMonitor.c # _registerRecordDeviceDriver.cpp will be created from .dbd example_SRCS += example_registerRecordDeviceDriver.cpp -example_SRCS_DEFAULT += exampleMain.c +example_SRCS_DEFAULT += exampleMain.cpp example_SRCS_vxWorks += -nil- #The following adds drvTS support for vxWorks diff --git a/src/makeBaseApp/top/exampleApp/src/exampleMain.c b/src/makeBaseApp/top/exampleApp/src/exampleMain.cpp similarity index 100% rename from src/makeBaseApp/top/exampleApp/src/exampleMain.c rename to src/makeBaseApp/top/exampleApp/src/exampleMain.cpp