--- Make.inc.orig 1999-01-18 21:48:55 UTC +++ Make.inc @@ -12,7 +12,7 @@ # for solaris # # CC = gcc - CC = /usr/lang-4.0/bin/cc +# CC = cc # # for sgi # @@ -22,20 +22,23 @@ # # CC = /opt/mpi/bin/mpicc # +# for FreeBSD +CC = %%CC%% +# #---------------------------------------- # # set the compiler flags # # OPTLEVEL = # OPTLEVEL = -g -v - OPTLEVEL = -O +# OPTLEVEL = -O # OPTLEVEL = -xO5 -v # OPTLEVEL = -O3 # OPTLEVEL = -O4 -# CFLAGS = -Wall -g +CFLAGS = %%CFLAGS%% # CFLAGS = -Wall -pg # CFLAGS = $(OPTLEVEL) -D_POSIX_C_SOURCE=199506L - CFLAGS = $(OPTLEVEL) +# CFLAGS += $(OPTLEVEL) # CFLAGS = -Wall $(OPTLEVEL) # #---------------------------------------- @@ -50,8 +53,8 @@ # set any thread libraries # # THREAD_LIBS = -# THREAD_LIBS = -D_REENTRANT=199506L -lpthread - THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread +THREAD_LIBS = -D_REENTRANT=199506L -lpthread +# THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread # THREAD_LIBS = -lpthread # #--------------------------------------------------------------------- @@ -79,15 +82,15 @@ # set the ranlib environment # (if ranlib is not needed, we echo the library name) # -# RANLIB = ranlib - RANLIB = echo + RANLIB = ranlib +# RANLIB = echo # #--------------------------------------------------------------------- # # set suffix rule *.c --> *.o # -.c.o : - $(PURIFY) $(CC) -c $(CFLAGS) $< +#.c.o : +# $(PURIFY) $(CC) -c $(CFLAGS) $< # #--------------------------------------------------------------------- # @@ -103,7 +106,7 @@ # MPI install library # # MPI_INSTALL_DIR = - MPI_INSTALL_DIR = /usr/local/mpich-1.0.13 +MPI_INSTALL_DIR = %%LOCALBASE%% # #--------------------------------------------------------------------- # @@ -115,7 +118,7 @@ # # for solaris # - MPI_LIB_PATH = -L$(MPI_INSTALL_DIR)/lib/solaris/ch_p4 +MPI_LIB_PATH = -L$(MPI_INSTALL_DIR)/lib # # for hp #