Chih-Ying Lin wrote:
Hi
Following are
1.  template.c
2.  README
3.  Makefile.x86_64-unknown-linux-gnu


In the template.c => it includes several GROMACS headers.
#include "statutil.h"
#include "typedefs.h"
#include "smalloc.h"
#include "vec.h"
#include "copyrite.h"
#include "statutil.h"
#include "tpxio.h"



If I put the GROMACS headers with template.c in the same directory, should I
still need the Makefile for my architecture, intended to compile template.c
and link to the GROMACS libraries correctly ???

The point of the Makefile is that you don't need to move headers around - like it says in the README:

"A Makefile.arch is created for each architecture you install
with the correct paths and libraries. You will have to link
(or copy) the correct makefile to "Makefile" or use the -f
option to gmake in order to select a makefile."

So do "make -f Makefile.x86_64-unknown-linux-gnu" like it says :-)

Mark
_______________________________________________
gmx-users mailing list    gmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-users-requ...@gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

Reply via email to