Different makefiles for different machines M.Z.
This commit is contained in:
18
matrix/make_gen
Normal file
18
matrix/make_gen
Normal 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
15
matrix/makefile_alpha
Normal 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
15
matrix/makefile_linux
Normal 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
|
Reference in New Issue
Block a user