1# $Id: makefile,v 1.250 1998/11/06 22:03:43 bsmith Exp bsmith $ 2# 3# This is the makefile for installing PETSc. See the file 4# Installation for directions on installing PETSc. 5# See also bmake/common for additional commands. 6# 7ALL: all 8 9DIRS = src include docs 10 11include ${PETSC_DIR}/bmake/${PETSC_ARCH}/base 12 13# 14# Basic targets to build PETSc libraries. 15# all : builds the c, fortran,f90 libraries 16# fortran : builds the fortran libary 17# f90 : builds the fortran and the f90 libraries. 18# 19all : info chkpetsc_dir deletelibs build_c build_fortrankernels \ 20 build_fortran build_fortran90 shared 21fortran : info chkpetsc_dir build_fortran 22fortran90 : fortran build_fortran90 23 24# 25# Prints information about the system and PETSc being compiled 26# 27info: 28 -@echo "==========================================" 29 -@echo On `date` on `hostname` 30 -@echo Machine characteristics: `uname -a` 31 -@echo "-----------------------------------------" 32 -@echo "Using C compiler: ${CC} ${COPTFLAGS} ${CCPPFLAGS}" 33 -@if [ -n "${CCV}" -a "${CCV}" != "unknown" ] ; then \ 34 echo "Compiler version:" `${CCV}` ; fi 35 -@echo "Using Fortran compiler: ${FC} ${FOPTFLAGS} ${FCPPFLAGS}" 36 -@echo "-----------------------------------------" 37 -@grep PETSC_VERSION_NUMBER include/petsc.h | sed "s/........//" 38 -@echo "-----------------------------------------" 39 -@echo "Using PETSc flags: ${PETSCFLAGS} ${PCONF}" 40 -@echo "-----------------------------------------" 41 -@echo "Using configuration flags:" 42 -@grep "define " bmake/${PETSC_ARCH}/petscconf.h 43 -@echo "-----------------------------------------" 44 -@echo "Using include paths: ${PETSC_INCLUDE}" 45 -@echo "-----------------------------------------" 46 -@echo "Using PETSc directory: ${PETSC_DIR}" 47 -@echo "Using PETSc arch: ${PETSC_ARCH}" 48 -@echo "------------------------------------------" 49 -@echo "Using C linker: ${CLINKER}" 50 -@echo "Using libraries: ${PETSC_LIB}" 51 -@echo "Using Fortran linker: ${FLINKER}" 52 -@echo "Using Fortran libraries: ${PETSC_FORTRAN_LIB}" 53 -@echo "==========================================" 54 55# 56# Build the PETSc libraries 57# 58build_c: 59 -@echo "BEGINNING TO COMPILE LIBRARIES IN ALL DIRECTORIES" 60 -@echo "=========================================" 61 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=libfast tree 62 -@cd ${PETSC_DIR}/src/sys/src/time ; \ 63 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} rs6000_time 64 ${RANLIB} ${PDIR}/*.a 65 -@chmod g+w ${PDIR}/*.a 66 -@echo "Completed building libraries" 67 -@echo "=========================================" 68 69# 70# Builds PETSc Fortran interface libary 71# Note: libfast cannot run on .F files on certain machines, so we 72# use lib and check for errors here. 73 74build_fortran: 75 -@echo "BEGINNING TO COMPILE FORTRAN INTERFACE LIBRARY" 76 -@echo "=========================================" 77 -${RM} -f ${PDIR}/libpetscfortran.* 78 -@cd src/fortran/auto; \ 79 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} libfast 80 -@cd src/fortran/custom; \ 81 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib > trashz 2>&1; \ 82 grep -v clog trashz | grep -v "information sections" | \ 83 egrep -i '(Error|warning|Can)' >> /dev/null;\ 84 if [ "$$?" != 1 ]; then \ 85 cat trashz ; fi; ${RM} trashz 86 ${RANLIB} ${PDIR}/libpetscfortran.a 87 -@chmod g+w ${PDIR}/*.a 88 -@echo "Completed compiling Fortran interface library" 89 -@echo "=========================================" 90 91# 92# Builds PETSc Fortran90 interface libary 93# Note: F90 interface currently supported in NAG, IRIX, IBM F90 compilers. 94# 95build_fortran90: 96 -@echo "BEGINNING TO COMPILE FORTRAN90 INTERFACE LIBRARY" 97 -@echo "=========================================" 98 -@cd src/fortran/f90; \ 99 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib > trashz 2>&1; \ 100 grep -v clog trashz | grep -v "information sections" | \ 101 egrep -i '(Error|warning|Can)' >> /dev/null;\ 102 if [ "$$?" != 1 ]; then \ 103 cat trashz ; fi; ${RM} trashz 104 ${RANLIB} ${PDIR}/libpetscfortran.a 105 -@chmod g+w ${PDIR}/*.a 106 -@echo "Completed compiling Fortran90 interface library" 107 -@echo "=========================================" 108 109# 110# Builds PETSc Fortran kernels; some numerical kernels have 111# a Fortran version that may give better performance on certain 112# machines. These always provide better performance for complex numbers. 113# 114build_fortrankernels: chkpetsc_dir 115 -@echo "BEGINNING TO COMPILE FORTRAN KERNELS LIBRARY" 116 -@echo "=========================================" 117 -@cd src/fortran/kernels; \ 118 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib 119 -@chmod g+w ${PDIR}/*.a 120 -@echo "Completed compiling Fortran kernels library" 121 -@echo "=========================================" 122 123petscblas: info chkpetsc_dir 124 -${RM} -f ${PDIR}/libpetscblas.* 125 -@echo "BEGINNING TO COMPILE C VERSION OF BLAS AND LAPACK" 126 -@echo "=========================================" 127 -@cd src/blaslapack; \ 128 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=libfast tree 129 ${RANLIB} ${PDIR}/libpetscblas.a 130 -@chmod g+w ${PDIR}/*.a 131 -@echo "Completed compiling C version of BLAS and LAPACK" 132 -@echo "=========================================" 133 134 135# Builds PETSc test examples for a given BOPT and architecture 136testexamples: info chkopts 137 -@echo "BEGINNING TO COMPILE AND RUN TEST EXAMPLES" 138 -@echo "Due to different numerical round-off on certain" 139 -@echo "machines some of the numbers may not match exactly." 140 -@echo "=========================================" 141 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} \ 142 ACTION=testexamples_1 tree 143 -@echo "Completed compiling and running test examples" 144 -@echo "=========================================" 145 146# Builds PETSc test examples for a given BOPT and architecture 147testfortran: info chkopts 148 -@echo "BEGINNING TO COMPILE AND RUN FORTRAN TEST EXAMPLES" 149 -@echo "=========================================" 150 -@echo "Due to different numerical round-off on certain" 151 -@echo "machines or the way Fortran formats numbers" 152 -@echo "some of the results may not match exactly." 153 -@echo "=========================================" 154 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} \ 155 ACTION=testexamples_3 tree 156 -@echo "Completed compiling and running Fortran test examples" 157 -@echo "=========================================" 158 159# Builds PETSc test examples for a given BOPT and architecture 160testexamples_uni: info chkopts 161 -@echo "BEGINNING TO COMPILE AND RUN TEST UNI-PROCESSOR EXAMPLES" 162 -@echo "Due to different numerical round-off on certain" 163 -@echo "machines some of the numbers may not match exactly." 164 -@echo "=========================================" 165 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} \ 166 ACTION=testexamples_4 tree 167 -@echo "Completed compiling and running uniprocessor test examples" 168 -@echo "=========================================" 169testfortran_uni: info chkopts 170 -@echo "BEGINNING TO COMPILE AND RUN TEST UNI-PROCESSOR FORTRAN EXAMPLES" 171 -@echo "Due to different numerical round-off on certain" 172 -@echo "machines some of the numbers may not match exactly." 173 -@echo "=========================================" 174 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} \ 175 ACTION=testexamples_9 tree 176 -@echo "Completed compiling and running uniprocessor fortran test examples" 177 -@echo "=========================================" 178 179# Ranlib on the libraries 180ranlib: 181 ${RANLIB} ${PDIR}/*.a 182 183# Deletes PETSc libraries 184deletelibs: chkopts_basic 185 -${RM} -f ${PDIR}/* 186 187 188# ------------------------------------------------------------------ 189# 190# All remaining actions are intended for PETSc developers only. 191# PETSc users should not generally need to use these commands. 192# 193 194 195# To access the tags in EMACS, type M-x visit-tags-table and specify 196# the file petsc/TAGS. 197# 1) To move to where a PETSc function is defined, enter M-. and the 198# function name. 199# 2) To search for a string and move to the first occurrence, 200# use M-x tags-search and the string. 201# To locate later occurrences, use M-, 202 203TAGS_INCLUDE_FILES = include/*.h include/pinclude/*.h bmake/*/petscconf.h \ 204 include/finclude/*.h 205TAGS_BMAKE_FILES = bmake/common bmake/*/base* 206TAGS_EXAMPLE_FILES = src/*/examples/*/*.[c,h,F,f] src/*/examples/*/*/*.[c,h,F,f] \ 207 src/benchmarks/*.c src/contrib/*/examples/*/*.[c,h,F,f]\ 208 src/fortran/f90/tests/*.[c,h,F,f] 209TAGS_FEXAMPLE_FILES = src/*/examples/*/*.[F,f] src/*/examples/*/*/*.[F,f] \ 210 src/contrib/*/examples/*/*.[F,f]\ 211 src/fortran/f90/tests/*.[F,f] 212TAGS_DOC_FILES = docs/tex/manual/routin.tex docs/tex/manual/manual.tex \ 213 docs/tex/manual/manual_tex.tex docs/tex/manual/intro.tex \ 214 docs/tex/manual/part1.tex docs/tex/manual/developer.tex docs/tex/manual/part2.tex 215TAGS_SRC_FILES = src/sys/src/*/*.c src/*/*.[c,h] src/*/interface/*.[c,h] src/*/src/*.[c,h] \ 216 src/*/utils/*.[c,h] src/snes/mf/*.[c,h] \ 217 src/*/impls/*.[c,h] src/*/impls/*/*.[c,h] src/*/impls/*/*/*.[c,h] \ 218 src/snes/interface/noise/*.[c,F,h] \ 219 src/contrib/*/*.[c,h] \ 220 src/contrib/*/src/*.[c,h] src/fortran/custom/*.[c,h,F] \ 221 src/fortran/kernels/*.[c,h,F] \ 222 src/fortran/f90/*.[c,h,F] src/fortran/f90/*/*.[c,h,F] \ 223 src/blaslapack/blas/*.c src/blaslapack/lapack/src[1,2,3]/*.c \ 224 src/contrib/pc/*/*.c 225TAGS_MAKEFILE_FILES = include/makefile include/*/makefile \ 226 makefile src/sys/src/*/makefile \ 227 src/makefile src/*/makefile src/*/src/makefile \ 228 src/*/interface/makefile \ 229 src/*/utils/makefile \ 230 src/*/impls/makefile src/*/impls/*/makefile src/*/impls/*/*/makefile \ 231 src/snes/interface/noise/makefile src/*/examples/makefile \ 232 src/*/examples/*/makefile src/*/examples/*/*/makefile \ 233 src/fortran/*/makefile src/fortran/f90/*/makefile \ 234 src/contrib/*/makefile src/contrib/*/src/makefile \ 235 src/contrib/*/examples/makefile src/contrib/*/examples/*/makefile \ 236 src/contrib/sif/*/makefile docs/makefile src/adic/*/makefile \ 237 src/contrib/pc/*/makefile src/contrib/makefile 238 239# Builds all etags files 240alletags: 241 -${OMAKE} etags_complete 242 -${OMAKE} etags 243 -${OMAKE} etags_noexamples 244 -${OMAKE} etags_examples 245 -${OMAKE} etags_makefiles 246 -${OMAKE} ctags 247 248# Builds the basic etags file. This should be employed by most users. 249etags: 250 -${RM} TAGS 251 -etags -f TAGS ${TAGS_INCLUDE_FILES} 252 -etags -a -f TAGS ${TAGS_SRC_FILES} 253 -etags -a -f TAGS ${TAGS_EXAMPLE_FILES} 254 -etags -a -f TAGS ${TAGS_MAKEFILE_FILES} 255 -etags -a -f TAGS ${TAGS_BMAKE_FILES} 256 -chmod g+w TAGS 257 258# Builds complete etags list; only for PETSc developers. 259etags_complete: 260 -${RM} TAGS_COMPLETE 261 -etags -f TAGS_COMPLETE ${TAGS_SRC_FILES} 262 -etags -a -f TAGS_COMPLETE ${TAGS_INCLUDE_FILES} 263 -etags -a -f TAGS_COMPLETE ${TAGS_EXAMPLE_FILES} 264 -etags -a -f TAGS_COMPLETE ${TAGS_MAKEFILE_FILES} 265 -etags -a -f TAGS_COMPLETE ${TAGS_BMAKE_FILES} 266 -etags -a -f TAGS_COMPLETE ${TAGS_DOC_FILES} 267 -chmod g+w TAGS_COMPLETE 268 269# Builds the etags file that excludes the examples directories 270etags_noexamples: 271 -${RM} TAGS_NO_EXAMPLES 272 -etags -f TAGS_NO_EXAMPLES ${TAGS_SRC_FILES} 273 -etags -a -f TAGS_NO_EXAMPLES ${TAGS_INCLUDE_FILES} 274 -etags -a -f TAGS_NO_EXAMPLES ${TAGS_MAKEFILE_FILES} 275 -etags -a -f TAGS_NO_EXAMPLES ${TAGS_BMAKE_FILES} 276 -etags -a -f TAGS_NO_EXAMPLES ${TAGS_DOC_FILES} 277 -chmod g+w TAGS_NO_EXAMPLES 278 279# Builds the etags file for makefiles 280etags_makefiles: 281 -${RM} TAGS_MAKEFILES 282 -etags -f TAGS_MAKEFILES ${TAGS_MAKEFILE_FILES} 283 -etags -a -f TAGS_MAKEFILES ${TAGS_BMAKE_FILES} 284 -chmod g+w TAGS_MAKEFILES 285 286# Builds the etags file for examples 287etags_examples: 288 -${RM} TAGS_EXAMPLES 289 -etags -f TAGS_EXAMPLES ${TAGS_EXAMPLE_FILES} 290 -chmod g+w TAGS_EXAMPLES 291etags_fexamples: 292 -${RM} TAGS_FEXAMPLES 293 -etags -f TAGS_FEXAMPLES ${TAGS_FEXAMPLE_FILES} 294 -chmod g+w TAGS_FEXAMPLES 295 296# 297# To use the tags file from VI do the following: 298# 1. within vi invoke the command - :set tags=/home/bsmith/petsc/vitags 299# or add the command to your ~/.exrc file - set tags=/home/bsmith/petsc/vitags 300# 2. now to go to a tag do - :tag TAGNAME for eg - :tag MatCreate 301# 302ctags: 303 -${RM} vitags 304 -ctags -w -f vitags ${TAGS_INCLUDE_FILES} 305 -ctags -w -a -f vitags ${TAGS_SRC_FILES} 306 -ctags -w -a -f vitags ${TAGS_EXAMPLE_FILES} 307 -ctags -w -a -f vitags ${TAGS_MAKEFILE_FILES} 308 -ctags -w -a -f vitags ${TAGS_BMAKE_FILES} 309 -chmod g+w vitags 310# 311# These are here for the target allci and allco 312# 313 314DOCS = maint/addlinks maint/builddist \ 315 maint/buildlinks maint/wwwman maint/xclude maint/crontab\ 316 bmake/common bmake/*/base* maint/autoftp docs/manualpages/sec/* \ 317 include/foldinclude/generateincludes bin/petscviewinfo.text \ 318 bin/petscoptsinfo.text bmake/*/petscconf.h 319 320# Deletes man pages (HTML version) 321deletemanualpages: 322 ${RM} -f ${PETSC_DIR}/docs/manualpages/man*/* \ 323 ${PETSC_DIR}/docs/manualpages/man?.html \ 324 ${PETSC_DIR}/docs/manualpages/manualpages.cit 325 326# Deletes man pages (LaTeX version) 327deletelatexpages: 328 ${RM} -f ${PETSC_DIR}/docs/tex/rsum/*sum*.tex 329 330# Builds all versions of the man pages 331allmanpages: allmanualpages alllatexpages 332allmanualpages: deletemanualpages 333 -${OMAKE} ACTION=manualpages_buildcite tree 334 -cd src/fortran/custom; ${OMAKE} manualpages_buildcite 335 -cd src/fortran/custom; ${OMAKE} manualpages 336 -${OMAKE} ACTION=manualpages tree 337 -maint/wwwman ${PETSC_DIR} 338 -maint/examplesindex.tcl 339 -maint/htmlkeywords.tcl 340 -@chmod g+w docs/manualpages/man*/* 341 342alllatexpages: deletelatexpages 343 -${OMAKE} ACTION=latexpages tree 344 -cd src/fortran/custom; ${OMAKE} latexpages 345 -@chmod g+w docs/tex/rsum/* 346 347# Builds Fortran stub files 348allfortranstubs: 349 -@include/foldinclude/generateincludes 350 -@${RM} -f src/fortran/auto/*.c 351 -${OMAKE} ACTION=fortranstubs tree 352 -@cd src/fortran/auto; ${OMAKE} -f makefile fixfortran 353 chmod g+w src/fortran/auto/*.c 354 355allci: 356 -@cd src/fortran/custom ; ${OMAKE} BOPT=${BOPT} ci 357 -@cd src/fortran/f90 ; ${OMAKE} BOPT=${BOPT} ci 358 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=ci tree 359 360allco: 361 -@cd src/fortran/custom ; ${OMAKE} BOPT=${BOPT} co 362 -@cd src/fortran/f90 ; ${OMAKE} BOPT=${BOPT} co 363 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=co tree 364 365# 366# The commands below are for generating ADIC versions of the code; 367# they are not currently used. 368# 369alladicignore: 370 -@${RM} ${PDIR}/adicignore 371 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adicignore tree 372 373alladic: 374 -@echo "Beginning to compile ADIC source code in all directories" 375 -@echo "Using ADIC compiler: ${ADIC_CC} ${CCPPFLAGS}" 376 -@echo "=========================================" 377 -@cd include ; \ 378 ${ADIC_CC} -s -f 1 ${CCPPFLAGS} petsc.h 379 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adic tree 380 -@cd src/inline ; \ 381 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} adic 382 -@cd src/blaslapack ; \ 383 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adic tree 384 385alladiclib: 386 -@echo "Beginning to compile ADIC libraries in all directories" 387 -@echo "Using compiler: ${CC} ${COPTFLAGS}" 388 -@echo "-----------------------------------------" 389 -@echo "Using PETSc flags: ${PETSCFLAGS} ${PCONF}" 390 -@echo "-----------------------------------------" 391 -@echo "Using configuration flags:" 392 -@grep "define " bmake/${PETSC_ARCH}/petscconf.h 393 -@echo "-----------------------------------------" 394 -@echo "Using include paths: ${PETSC_INCLUDE}" 395 -@echo "-----------------------------------------" 396 -@echo "Using PETSc directory: ${PETSC_DIR}" 397 -@echo "Using PETSc arch: ${PETSC_ARCH}" 398 -@echo "=========================================" 399 -@${RM} -f ${PDIR}/*adic.a 400 -@${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adiclib tree 401 -@cd src/blaslapack ; \ 402 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} ACTION=adiclib tree 403 -@cd src/adic/src ; \ 404 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib 405 406# ------------------------------------------------------------------------------- 407# 408# Some macros to check if the fortran interface is up-to-date. 409# 410countfortranfunctions: 411 -@cd ${PETSC_DIR}/src/fortran; egrep '^void' custom/*.c auto/*.c | \ 412 cut -d'(' -f1 | tr -s '' ' ' | cut -d' ' -f2 | uniq | egrep -v "(^$$|Petsc)" | \ 413 sed "s/_$$//" | sort > /tmp/countfortranfunctions 414 415countcfunctions: 416 -@ grep extern ${PETSC_DIR}/include/*.h *.h | grep "(" | tr -s '' ' ' | \ 417 cut -d'(' -f1 | cut -d' ' -f3 | grep -v "\*" | tr -s '' '\012' | \ 418 tr 'A-Z' 'a-z' | sort > /tmp/countcfunctions 419 420difffortranfunctions: countfortranfunctions countcfunctions 421 -@echo -------------- Functions missing in the fortran interface --------------------- 422 -@diff /tmp/countcfunctions /tmp/countfortranfunctions | grep "^<" | cut -d' ' -f2 423 -@echo ----------------- Functions missing in the C interface ------------------------ 424 -@diff /tmp/countcfunctions /tmp/countfortranfunctions | grep "^>" | cut -d' ' -f2 425 -@${RM} /tmp/countcfunctions /tmp/countfortranfunctions 426 427checkbadfortranstubs: 428 -@echo "=========================================" 429 -@echo "Functions with MPI_Comm as an Argument" 430 -@echo "=========================================" 431 -@cd ${PETSC_DIR}/src/fortran/auto; grep '^void' *.c | grep 'MPI_Comm' | \ 432 tr -s '' ' ' | tr -s ':' ' ' |cut -d'(' -f1 | cut -d' ' -f1,3 433 -@echo "=========================================" 434 -@echo "Functions with a String as an Argument" 435 -@echo "=========================================" 436 -@cd ${PETSC_DIR}/src/fortran/auto; grep '^void' *.c | grep 'char \*' | \ 437 tr -s '' ' ' | tr -s ':' ' ' |cut -d'(' -f1 | cut -d' ' -f1,3 438 -@echo "=========================================" 439 -@echo "Functions with Pointers to PETSc Objects as Argument" 440 -@echo "=========================================" 441 -@cd ${PETSC_DIR}/src/fortran/auto; \ 442 _p_OBJ=`grep _p_ ${PETSC_DIR}/include/*.h | tr -s '' ' ' | \ 443 cut -d' ' -f 3 | tr -s '' '\012' | grep -v '{' | cut -d'*' -f1 | \ 444 sed "s/_p_//g" | tr -s '\012 ' ' *|' ` ; \ 445 for OBJ in $$_p_OBJ; do \ 446 grep "$$OBJ \*" *.c | tr -s '' ' ' | tr -s ':' ' ' | \ 447 cut -d'(' -f1 | cut -d' ' -f1,3; \ 448 done 449# Builds noise routines (not yet publically available) 450# Note: libfast cannot run on .F files on certain machines, so we 451# use lib and check for errors here. 452noise: info chkpetsc_dir 453 -@echo "Beginning to compile noise routines" 454 -@echo "=========================================" 455 -@cd src/snes/interface/noise; \ 456 ${OMAKE} BOPT=${BOPT} PETSC_ARCH=${PETSC_ARCH} lib > trashz 2>&1; \ 457 grep -v clog trashz | grep -v "information sections" | \ 458 egrep -i '(Error|warning|Can)' >> /dev/null;\ 459 if [ "$$?" != 1 ]; then \ 460 cat trashz ; fi; ${RM} trashz 461 ${RANLIB} ${PDIR}/libpetscsnes.a 462 -@chmod g+w ${PDIR}/libpetscsnes.a 463 -@echo "Completed compiling noise routines" 464 -@echo "=========================================" 465 466