iphreeqc/test2/Makefile
Scott R Charlton 6546b94c28 Rearranging IPhreeqc
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4108 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-02-23 05:05:42 +00:00

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