CXX = /home/wolf/bin/gcc-2.8.1/bin/c++
endif
-
ifeq ($(shell uname),SunOS)
-INCLUDE2.8 = -I/usr/local/source/libstdc++-2.8.0/libstdc++ \
- -I/usr/local/source/libstdc++-2.8.0/libstdc++/stl \
- -I/usr/local/source/libstdc++-2.8.0/libio
-CXXFLAGS := $(CXXFLAGS) $(INCLUDE2.8)
-CXXFLAGS.g:= $(CXXFLAGS.g) $(INCLUDE2.8)
+CXX = /usr/local/gcc/gcc-2.8.1/bin/c++
endif
-
cc-files = grid/grid_test.cc dof/dof_test.cc poisson/poisson.cc
o-files = $(cc-files:.cc=.o)
h-files = $(wildcard ../include/*.h)
@echo ================= Linking $@
@$(CXX) $(CXXFLAGS.g) -o $@ $< $(LIBS.g) -lg++
-poisson/poisson: poisson/poisson.o $(LIBFILES.g)
+poisson/poisson:
@cd poisson ; make
endif
ifeq ($(shell uname),SunOS)
-INCLUDE2.8 = -I/usr/local/source/libstdc++-2.8.0/libstdc++ \
- -I/usr/local/source/libstdc++-2.8.0/libstdc++/stl \
- -I/usr/local/source/libstdc++-2.8.0/libio
-CXXFLAGS := $(CXXFLAGS) $(INCLUDE2.8)
-CXXFLAGS.g:= $(CXXFLAGS.g) $(INCLUDE2.8)
+CXX = /usr/local/gcc/gcc-2.8.1/bin/c++
endif
LIBPATH = -L../../lib -L../../../lac/lib
endif
ifeq ($(shell uname),SunOS)
-INCLUDE2.8= -I/usr/local/source/libstdc++-2.8.0/libstdc++ \
- -I/usr/local/source/libstdc++-2.8.0/libio
-CXXFLAGS := $(CXXFLAGS) $(INCLUDE2.8)
-CXXFLAGS.g:= $(CXXFLAGS.g) $(INCLUDE2.8)
+CXX = /usr/local/gcc/gcc-2.8.1/bin/c++
endif
endif
ifeq ($(shell uname),SunOS)
-INCLUDE2.8= -I/usr/local/source/libstdc++-2.8.0/libstdc++ \
- -I/usr/local/source/libstdc++-2.8.0/libio
-CXXFLAGS := $(CXXFLAGS) $(INCLUDE2.8)
-CXXFLAGS.g:= $(CXXFLAGS.g) $(INCLUDE2.8)
+CXX = /usr/local/gcc/gcc-2.8.1/bin/c++
endif
endif
ifeq ($(shell uname),SunOS)
-INCLUDE2.8= -I/usr/local/source/libstdc++-2.8.0/libstdc++ \
- -I/usr/local/source/libstdc++-2.8.0/libio
-CXXFLAGS := $(CXXFLAGS) $(INCLUDE2.8)
-CXXFLAGS.g:= $(CXXFLAGS.g) $(INCLUDE2.8)
+CXX = /usr/local/gcc/gcc-2.8.1/bin/c++
endif
endif
ifeq ($(shell uname),SunOS)
-INCLUDE2.8= -I/usr/local/source/libstdc++-2.8.0/libstdc++ \
- -I/usr/local/source/libstdc++-2.8.0/libio
-CXXFLAGS := $(CXXFLAGS) $(INCLUDE2.8)
-CXXFLAGS.g:= $(CXXFLAGS.g) $(INCLUDE2.8)
+CXX = /usr/local/gcc/gcc-2.8.1/bin/c++
endif
-
cc-files = $(wildcard *.cc)
o-files = $(cc-files:.cc=.o)
go-files = $(cc-files:.cc=.go)
CXX = /home/wolf/bin/gcc-2.8.1/bin/c++
endif
-
ifeq ($(shell uname),SunOS)
-INCLUDE2.8 = -I/usr/local/source/libstdc++-2.8.0/libstdc++ \
- -I/usr/local/source/libstdc++-2.8.0/libstdc++/stl \
- -I/usr/local/source/libstdc++-2.8.0/libio
-CXXFLAGS := $(CXXFLAGS) $(INCLUDE2.8)
-CXXFLAGS.g:= $(CXXFLAGS.g) $(INCLUDE2.8)
+CXX = /usr/local/gcc/gcc-2.8.1/bin/c++
endif
-
cc-files = grid/grid_test.cc dof/dof_test.cc poisson/poisson.cc
o-files = $(cc-files:.cc=.o)
h-files = $(wildcard ../include/*.h)
@echo ================= Linking $@
@$(CXX) $(CXXFLAGS.g) -o $@ $< $(LIBS.g) -lg++
-poisson/poisson: poisson/poisson.o $(LIBFILES.g)
+poisson/poisson:
@cd poisson ; make
endif
ifeq ($(shell uname),SunOS)
-INCLUDE2.8 = -I/usr/local/source/libstdc++-2.8.0/libstdc++ \
- -I/usr/local/source/libstdc++-2.8.0/libstdc++/stl \
- -I/usr/local/source/libstdc++-2.8.0/libio
-CXXFLAGS := $(CXXFLAGS) $(INCLUDE2.8)
-CXXFLAGS.g:= $(CXXFLAGS.g) $(INCLUDE2.8)
+CXX = /usr/local/gcc/gcc-2.8.1/bin/c++
endif
LIBPATH = -L../../lib -L../../../lac/lib