[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
help with make system.
From: |
xydarcher |
Subject: |
help with make system. |
Date: |
Thu, 26 Jul 2007 10:32:38 -0700 |
User-agent: |
G2/1.0 |
i am using automake to generate Makefile, but there are three
questions.
1. i create several directories such as src, lib, data, etc. the
binary file under src/ need linking static library in lib/, how could
i add the dependency which make sure lib/ dir is compiled before src/
dir?
2.the two dir src/ and lib/ would be compiled seperately, but
linking stage of src/ dir requires dynamic link params(-lpthread, -lm,
etc) for lib/ dir. how to make the tools add the required dynamic link
params for src/ compilation automatically?
3. the dir data/ contains the data files needed by final release,
and it must be placed in the same dir of binary files. for example,
bin/data directory. how to wrtie Makefile.am?
the files i want to modified are configure.in and Makefile.am.Any
help would be appreciated.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- help with make system.,
xydarcher <=