mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-13 07:08:23 +01:00
Rearranging IPhreeqc
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4109 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
6546b94c28
commit
41a7d26c56
10
test5/Makefile
Normal file
10
test5/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
all: test5
|
||||
|
||||
test5: test5.o ../lib/libiphreeqc.a
|
||||
g++ -L../lib -o test5 test5.o -liphreeqc
|
||||
|
||||
test5.o: test5.c
|
||||
gcc -I../include -c test5.c
|
||||
|
||||
clean:
|
||||
$(RM) test5 test5.o *~
|
||||
1556
test5/phreeqc.dat
Normal file
1556
test5/phreeqc.dat
Normal file
File diff suppressed because it is too large
Load Diff
15
test5/test5.c
Normal file
15
test5/test5.c
Normal file
@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <IPhreeqc.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
int i;
|
||||
int r;
|
||||
for (i=0; i < 100; ++i) {
|
||||
printf("i=%d\n", i);
|
||||
r = LoadDatabase("phreeqc.dat");
|
||||
/*UnLoadDatabase();*/
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user