Fixed warning messages and added to make clean rule

This commit is contained in:
Harry Moffat
2006-08-19 23:54:37 +00:00
parent 030e1cfe6b
commit 90544553e1
2 changed files with 4 additions and 5 deletions

View File

@@ -165,8 +165,7 @@ double calc(double temp, double Iionic) {
double molecWeight = 18.01528;
double RT = GasConst * temp * 1.0E-3;
//double RT = GasConst * temp * 1.0E-3;
double xo = 1.0 / (molecWeight/1000. * 2 * m + 1.0);
printf(" no = %g\n", xo);
@@ -174,7 +173,7 @@ double calc(double temp, double Iionic) {
return phiJ;
}
main() {
int main() {
printf("Standalone test of the apparent relative molal enthalpy, phiL:\n");
printf(" (Check against simple formula in Silvester&Pitzer, J. Phys. Chem. 81, 1822 (1977)\n");
@@ -188,5 +187,5 @@ main() {
printf("Ionic Strength = %g\n", Iionic);
res = calc(273.15 + 200., Iionic);
return 0;
}

View File

@@ -108,7 +108,7 @@ endif
@ ./runtest
clean:
$(RM) $(OBJS) $(PROGRAM) $(DEPENDS) .depends
$(RM) $(OBJS) $(PROGRAM) $(DEPENDS) .depends *.o
../../../bin/rm_cvsignore
(if test -d SunWS_cache ; then \
$(RM) -rf SunWS_cache ; \