On 11/04/2010 09:53 AM, Philipp Thomas wrote:
But the basics are rather simple.
- Create a configure.ac by running autoscan and renaming the resulting configure.scan. - Edit configure scan as needed. - Create a Makefile.am, which is much easier than creating a Makefile on your own. In ist simplest form it contains:
bin_PROGRAMS = foo foo_SOURCERS = foo.h foo.c
Now run configure 'autoreconf -fi' which will run all tools and copy all needed files needed to create (and run) configure and Makefile.in. Now run configure and then make as you do with other packages.
Philipp
Oh... Now that's cool. And I thought the makefile was the next best thing to sliced bread once I figured out how to spell. I'll read up on autotools. I really never needed it before. But now with the library list growing and the number of source/headers, that may really take some workload off. Thank you for the suggestion and... the example. (worth 1000 words) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org