[petsc-users] about make code with Petsc
behzad baghapour
behzad.baghapour at gmail.com
Thu Oct 13 08:21:29 CDT 2011
Dear all,
I want to create code objects in different folder like "object" but I
received "no rule to make target". The makefile is in the source files
folder.
Please tell me a hint for it.
Here is my makefile:
SHELL=/bin/bash
OBJDIR = object/
MYOBJ = # my object files #
include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules
OBJLIST = $(addprefix $(OBJDIR), $(MYOBJ))
code: ${OBJLIST} chkopts
-${CLINKER} -o code ${OBJLIST} ${INCDIR} ${PETSC_LIB}
Thanks,
--
==================================
Behzad Baghapour
Ph.D. Candidate, Mechecanical Engineering
University of Tehran, Tehran, Iran
https://sites.google.com/site/behzadbaghapour
Fax: 0098-21-88020741
==================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111013/8a8ff526/attachment.htm>
More information about the petsc-users
mailing list