Different makefiles for different machines M.Z.

This commit is contained in:
cvs
2003-03-18 09:43:43 +00:00
parent 1969980f0f
commit f42a780057
17 changed files with 409 additions and 102 deletions

18
matrix/make_gen Normal file
View File

@ -0,0 +1,18 @@
#---------------------------------------------------------------------------
# Makefile for the Matrix library
#
# Mark Koennecke, November 1996
#--------------------------------------------------------------------------
OBJ= matadd.o matcreat.o matdet.o matdump.o matdurbn.o materr.o \
matinv.o matmul.o matsolve.o matsub.o matsubx.o mattoepz.o \
mattran.o
libmatrix.a: $(OBJ)
- rm -f libmatrix.a
ar cr libmatrix.a $(OBJ)
ranlib libmatrix.a
clean:
rm -f *.o
rm -f *.a

15
matrix/makefile_alpha Normal file
View File

@ -0,0 +1,15 @@
#---------------------------------------------------------------------------
# Makefile for the Matrix library
# machine-dependent part for Tru64 Unix
#
# Mark Koennecke, November 1996
# Markus Zolliker, March 2003
#--------------------------------------------------------------------------
# the following line only for fortified version
DFORTIFY=-DFORTIFY -I$(SRC)..
#==========================================================================
CC = cc
CFLAGS = -std1 -g $(DFORTIFY)
include make_gen

15
matrix/makefile_linux Normal file
View File

@ -0,0 +1,15 @@
#---------------------------------------------------------------------------
# Makefile for the Matrix library
# machine-dependent part for Redhat Linux with AFS at PSI
#
# Mark Koennecke, November 1996
# Markus Zolliker, March 2003
#--------------------------------------------------------------------------
# the following line only for fortified version
DFORTIFY=-DFORTIFY
#==========================================================================
CC = gcc
CFLAGS = -g $(DFORTIFY)
include $(SRC)make_gen