D.Maden. 11-Sep-2000.
Makefiles modified to generate a Linux SICServer. Other files modified to get rid of irritating compiler warning messages.
This commit is contained in:
@ -8,12 +8,12 @@ OBJ= matadd.o matcreat.o matdet.o matdump.o matdurbn.o materr.o \
|
||||
mattran.o
|
||||
|
||||
#---------- for Redhat linux
|
||||
#CC= gcc
|
||||
#CFLAGS= -I/usr/local/include -I. -I../ -DLINUX -g -c
|
||||
CC= gcc
|
||||
CFLAGS= -I/usr/local/include -I. -I../ -DLINUX -g -c
|
||||
|
||||
#------------ for DigitalUnix
|
||||
CC=cc
|
||||
CFLAGS= -I/data/koenneck/include -I. -I../ -std1 -g -c
|
||||
#CC=cc
|
||||
#CFLAGS= -I/data/koenneck/include -I. -I../ -std1 -g -c
|
||||
#------------ for DigitalUnix with Fortify
|
||||
#CFLAGS= -I/data/koenneck/include -DFORTIFY -I. -I../ -std1 -g -c
|
||||
|
||||
@ -25,10 +25,10 @@ CFLAGS= -I/data/koenneck/include -I. -I../ -std1 -g -c
|
||||
$(CC) $(CFLAGS) $*.c
|
||||
|
||||
matrix: $(OBJ)
|
||||
- rm libmatrix.a
|
||||
- rm -f libmatrix.a
|
||||
ar cr libmatrix.a $(OBJ)
|
||||
ranlib libmatrix.a
|
||||
|
||||
clean:
|
||||
rm *.o
|
||||
rm *.a
|
||||
rm -f *.o
|
||||
rm -f *.a
|
||||
|
@ -73,6 +73,3 @@ FILE *fp;
|
||||
|
||||
return (A);
|
||||
}
|
||||
|
||||
|
||||
|
@ -130,4 +130,3 @@ MATRIX A, B;
|
||||
mat_free( R );
|
||||
return (X);
|
||||
}
|
||||
|
@ -42,5 +42,3 @@ int errno;
|
||||
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
@ -74,4 +74,3 @@ MATRIX a;
|
||||
mat_free(P);
|
||||
return (C);
|
||||
}
|
||||
|
@ -55,6 +55,3 @@ MATRIX A;
|
||||
}
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
||||
|
@ -45,4 +45,4 @@ int i,j;
|
||||
}
|
||||
|
||||
return (S);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user