On Wed, Mar 10, 2010 at 4:03 PM, liang cheng <[email protected]> wrote: > Hi developers and users, > > I wrote a used-defined input script and put it as > .../libmesh/examples/lc2d_v1/lc2d_v1.C, copied a Makefile within the same > folder with slight modification of ex11's (only change the ' target > := ./lc2d_v1-$(METHOD)' ). Make it, then get this error: > >>>li...@b356:~/Desktop/libmesh/examples/lc2d_v1$ make >>>make: *** No rule to make target `../..2d_v1.C', needed by > `lc2d_v1.x86_64-unknown-linux-gnu.dbg.o'. Stop. >>>li...@b356:~/Desktop/libmesh/examples/lc2d_v1$
Your makefile is apparently not finding the .C file. I'm curious as to why it's looking in ../.. though. That might be a hint as to what the problem is... other than that I'm not sure. > if I put both lc2d_v1.C and Makefile in any example/ex(xx) folder, that > works, did I miss something in the Makefile if writing a script outside the > ex(xx) folder? Thanks for any help! -- John ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
