From 31cd499e87188ec57621f12335d4db910facdc1b Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 27 Nov 2010 21:28:37 +0000 Subject: * etc/Makefile.in: Compile and link with a C++ compiler. * etc/asq.c.pamphlet: Fix bogus declarations of standard functions. Fix const-correctness for string literals. --- src/graph/view2D/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/graph/view2D') diff --git a/src/graph/view2D/Makefile.in b/src/graph/view2D/Makefile.in index 698f0ca6..c645ceec 100644 --- a/src/graph/view2D/Makefile.in +++ b/src/graph/view2D/Makefile.in @@ -74,7 +74,7 @@ stamp: $(axiom_target_libdir)/view2D$(EXEEXT) $(STAMP) stamp $(axiom_target_libdir)/view2D$(EXEEXT): $(view2D_objects) $(view2D_DEPENDENCIES) - $(LINK) -o $@ $(view2D_objects) $(Gfun_objects) \ + $(CXXLINK) -o $@ $(view2D_objects) $(Gfun_objects) \ $(view2D_LDADD) $(AXIOM_X11_LDFLAGS) -lm .PRECIOUS: %.lo @@ -82,7 +82,7 @@ $(axiom_target_libdir)/view2D$(EXEEXT): $(view2D_objects) $(view2D_DEPENDENCIES) %.$(OBJEXT): $(HEADERS) %.lo: $(builddir)/%.c $(axiom_c_macros.h) - $(COMPILE) -o $@ $(CFLAGS) $(AXIOM_CFLAGS) $< + $(CXXCOMPILE) -o $@ $(CFLAGS) $(AXIOM_CFLAGS) $< mostlyclean-local: -- cgit v1.2.3