mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4108 1feff8c3-07ed-0310-ac33-dd36852eb9cd
21 lines
438 B
Makefile
21 lines
438 B
Makefile
include makelist
|
|
|
|
CXX = g++
|
|
CPPFLAGS = -Wall -DNDEBUG -DSWIG_SHARED_OBJ
|
|
LDFLAGS = -L../lib
|
|
FC = f95
|
|
FLDFLAGS = -lgfortranbegin -lgfortran
|
|
|
|
%.o: %.f
|
|
$(FC) $(FFLAGS) $(TARGET_ARCH) -g -c -o $@ $<
|
|
|
|
all: test2
|
|
|
|
clean:
|
|
$(RM) test2 test2.o test2.exe sel1 sel2 phreeqc.log phreeqc.out phreeqc.err error.inp
|
|
|
|
test2: test2.o ../lib/libiphreeqc.a
|
|
$(CXX) $(LDFLAGS) -o test2 test2.o -liphreeqc $(FLDFLAGS)
|
|
|
|
test2.o: test2.f
|