12.07.2015 Views

DOLFIN User Manual - FEniCS Project

DOLFIN User Manual - FEniCS Project

DOLFIN User Manual - FEniCS Project

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>DOLFIN</strong> <strong>User</strong> <strong>Manual</strong>Hoffman, Jansson, Logg, Wellsexample shows how to write a Makefile for the above example:CFLAGSLIBSCXXLINK= ‘dolfin-config --cflags‘= ‘dolfin-config --libs‘= ‘dolfin-config --compiler‘= ‘dolfin-config --linker‘DEST = dolfin-poissonOBJECTS = main.oall: $(DEST)install:clean:-rm -f *.o core *.core $(OBJECTS) $(DEST)$(DEST): $(OBJECTS)$(LINK) -o $@ $(OBJECTS) $(CFLAGS) $(LIBS).cpp.o:$(CXX) $(CFLAGS) -c $

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!