From dea145b9210f67239fa887d013faf341e276c849 Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 8 Dec 2009 09:48:00 +0000 Subject: [PATCH] John Denker: Suggestion: It might be helpful to promote each of the .c files to .cxx. Rationale: -- The configure/makefile system handles CFLAGS differently from CXXFLAGS. -- It is important for the *info programs to compiled and run in exactly the same environment as the main fgfs program. Some users depend on compiler or linker flags such as rpath that strongly affect the results of the *info programs. -- There is no downside; you code compiles just fine as-is under the c++ compiler. timoore split the original patch so that alcinfo.cxx can be commited to the ehofman/sound branch seperately. --- tests/Makefile.am | 4 ++-- tests/{est-epsilon.c => est-epsilon.cxx} | 0 tests/{gl-info.c => gl-info.cxx} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/{est-epsilon.c => est-epsilon.cxx} (100%) rename tests/{gl-info.c => gl-info.cxx} (100%) diff --git a/tests/Makefile.am b/tests/Makefile.am index 46db97225..c3e2dc570 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -8,10 +8,10 @@ else test_up_PLIB_LIBS = -lplibsg -lplibul endif -est_epsilon_SOURCES = est-epsilon.c +est_epsilon_SOURCES = est-epsilon.cxx est_epsilon_LDADD = $(opengl_LIBS) -gl_info_SOURCES = gl-info.c +gl_info_SOURCES = gl-info.cxx gl_info_LDADD = $(opengl_LIBS) al_info_SOURCES = al-info.c diff --git a/tests/est-epsilon.c b/tests/est-epsilon.cxx similarity index 100% rename from tests/est-epsilon.c rename to tests/est-epsilon.cxx diff --git a/tests/gl-info.c b/tests/gl-info.cxx similarity index 100% rename from tests/gl-info.c rename to tests/gl-info.cxx