summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2002-07-27 21:37:20 +0000
committerJohn Millaway <john43@users.sourceforge.net>2002-07-27 21:37:20 +0000
commit6c464217006d81edc25d023ab6b7d78eeb1bcc48 (patch)
treed3ebf4e946bcc73a8f1f0dacb89295b5a37cb4df /tests
parent7f0729df152a75cdf9eb2bdff5753d8ad29868ed (diff)
downloadflex-git-6c464217006d81edc25d023ab6b7d78eeb1bcc48.tar.gz
Fixed test-c-cpp to actually use the C++ compiler for the test.
Fixed the bug that this exposed.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-c-cpp-nr/Makefile.am2
-rw-r--r--tests/test-c-cpp-r/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-c-cpp-nr/Makefile.am b/tests/test-c-cpp-nr/Makefile.am
index 4bd7054..32715f8 100644
--- a/tests/test-c-cpp-nr/Makefile.am
+++ b/tests/test-c-cpp-nr/Makefile.am
@@ -45,4 +45,4 @@ test: $(testname)$(EXEEXT)
./$(testname)$(EXEEXT) < $(srcdir)/test.input
.c.o:
- $(CC) -c -o $@ $(INCLUDES) $<
+ $(CXX) -c -o $@ $(INCLUDES) $<
diff --git a/tests/test-c-cpp-r/Makefile.am b/tests/test-c-cpp-r/Makefile.am
index f0ab41a..9ccbff6 100644
--- a/tests/test-c-cpp-r/Makefile.am
+++ b/tests/test-c-cpp-r/Makefile.am
@@ -45,4 +45,4 @@ test: $(testname)$(EXEEXT)
./$(testname)$(EXEEXT) < $(srcdir)/test.input
.c.o:
- $(CC) -c -o $@ $(INCLUDES) $<
+ $(CXX) -c -o $@ $(INCLUDES) $<