LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Automake: custom target (https://www.linuxquestions.org/questions/linux-from-scratch-13/automake-custom-target-722319/)

rombin 04-28-2009 03:04 PM

Automake: custom target
 
I'm preparing makefile.am file for set of libraries. Some libraries depends on others. I put all of information into one Makefile.am, so now when I run make all libraries are build in an order which I specified in a makefile.am. I would like to customize my Makefile to have specific targets. E.g. if I run "make myLib1" only myLib1 library is build.

Does anyone have idea have to prepare such "custom target" Makefile.am?

knudfl 05-01-2009 03:23 PM

There is more than one way to do it .....

1) Google .. makefile different targets ..
and get answers in most hits.

2) A feature list in 'configure.in', so targets
can be added with 'configure --enable-feature'
( Example : xmlrpc-c-1.06.32 )
.....


All times are GMT -5. The time now is 10:49 AM.